-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Unable to read 16bit tiff #1828
Comments
Sorry, it's a limitation of Pillow. We don't have the ability to read multichannel images that are more than 8 bit per channel. |
@wiredfool Did that change over time? I was under the impression that it was intended to be supported but there were gaps for some of the option permutations. |
It's never been supported. (at least, back to PIL 1.1.6) There are two core image representations, 8bpp and 32bpp. The 8 can be used in several ways, each single channel, and the 32 can be used as either 4 8 bit channels or 1 16 or 32 bit channel. These are defined in Apart from that, there are many image formats that mapped onto those 8 or 32bit pixels, but they're a mapping, not a bit copy. (e.g., mode There was someone interested in doing the work to add multi-channel high bit depth images, but that fell through for time or funding reasons. |
Closing, see #1888 for potential future developments |
What did you do?
im = Image.open("afc1981004_046_02.tif")
What did you expect to happen?
It opens the tiff
What actually happened?
it threw an error
What versions of Pillow and Python are you using?
3.2.0
Please include code that reproduces the issue and whenever possible, an image that demonstrates the issue. The best reproductions are self-contained scripts with minimal dependencies.
unfortunately it won't let me upload the file, but I would be happy to send it to you in an email.
output of identify
The text was updated successfully, but these errors were encountered: