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

Support for 4-bit grayscale TIFF images #938

Closed
wants to merge 3 commits into from

Conversation

hugovk
Copy link
Member

@hugovk hugovk commented Oct 2, 2014

  • Test Hopper image created with ImageMagick: convert tests\images\hopper.jpg -colorspace Gray -colors 16 -depth 4 tests\images\hopper_gray_4bpp.tif
  • Add (II, 1, 1, 1, (4,), ()): ("L", "L;4") to TiffImagePlugin.py's OPEN_INFO dict to support it.
  • With test case that compares image is similar to an original.
  • flake8.
  • Replaces Support for 4-bit grayscale TIFF images #933.
  • Closes Read 4-bit pixels in Tiff files #932.

@wiredfool
Copy link
Member

Added test case for libtiff as well. Merging after travis finishes.

@wiredfool wiredfool mentioned this pull request Oct 29, 2014
@wiredfool
Copy link
Member

See #980

@wiredfool wiredfool closed this Oct 29, 2014
@hugovk hugovk deleted the 4bittiff branch November 10, 2014 07:19
@radarhere radarhere changed the title Support for 4-bit greyscale TIFF images Support for 4-bit grayscale TIFF images Oct 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Read 4-bit pixels in Tiff files
2 participants