Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

change: encode non-JPEG images as PNGs instead of JPEG2000 images #1481

Merged
merged 1 commit into from Oct 30, 2021

Commits on Oct 29, 2021

  1. change: encode non-JPEG images as PNGs instead of JPEG2000 images

    This uses Pillow to re-encode any non-JPEG image as a PNG, then inline that
    image's IDAT chunks as a FlateDecode value, which allows us to reuse the work
    from the PNG encoder. This means we'll reencode some PNGs we could have passed
    through directly, but that could be changed later. Alpha layers continue to be
    handled separately, as appears to be required by the PDF spec.
    aschmitz committed Oct 29, 2021
    Configuration menu
    Copy the full SHA
    730d4f3 View commit details
    Browse the repository at this point in the history