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

Tiff: Add support for JPEG quality #3886

Merged
merged 5 commits into from Jul 1, 2019

Commits on Jun 25, 2019

  1. Improve encoding of TIFF tags

    - Pass tagtype from v2 directory to libtiff encoder, instead of
    autodetecting type.
    - Use explicit types. E.g. uint32_t for TIFF_LONG to fix issues on
    platforms with 64bit longs.
    - Add support for multiple values (arrays). Requires type in v2
    directory and values must be passed as a tuple.
    - Add support for signed types (e.g. TIFFTypes.TIFF_SIGNED_SHORT).
    olt authored and radarhere committed Jun 25, 2019
    Copy the full SHA
    61add9d View commit details
    Browse the repository at this point in the history
  2. tiff: add support for JPEG quality

    Uses JPEGQUALITY pseudo-tag from libtiff.
    
    Also changes the way tags are passed to PyImaging_LibTiffEncoderNew from
    dict to list to ensure that COMPRESSION tag is added before JPEGQUALITY.
    This is required as the COMPRESSION tag registers the JPEGQUALITY
    pseudo-tag.
    olt authored and radarhere committed Jun 25, 2019
    Copy the full SHA
    2b7d8be View commit details
    Browse the repository at this point in the history

Commits on Jun 30, 2019

  1. Copy the full SHA
    c994b78 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    f5a89a0 View commit details
    Browse the repository at this point in the history

Commits on Jul 1, 2019

  1. Copy the full SHA
    edeb8d6 View commit details
    Browse the repository at this point in the history