-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Added support for opening WhiteIsZero 16-bit integer TIFF images #6642
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
Added support for opening WhiteIsZero 16-bit integer TIFF images #6642
Conversation
#3335 didn't add any TIFF-specific tests, so I don't think tests are needed here. Feel free to say no, but would you be able to upload a copy of one such TIFF here, just in case we want to refer back to it in the future? |
Changed mode to I;16
yes of course, i'm fine with that. where should i upload it? |
Just attach it to a comment here. I understand that GitHub won't let you attach a TIFF, so compress it into a zip first. |
Thanks |
just added a line to support 16 bit integer TIFFs. is kinda unusual, but this this is needed for custom generated TIFFs, e.g. if you're working with holograms or interferograms.
What did i do?
added a line in TiffImagePlugin.py to support 16 bit integer TIFFs
What did i expect to happen?
that Pillow is able to work with 16 bit integer TIFFs
What did actually happen?
Pillow is able to work with 16 bit integer TIFFs
What versions of Pillow and Python am i using?
Python 3.9 and Pillow 9.2.0