-
-
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
Error when loading image #2955
Comments
That's a 16 bit per channel RGB image, and Pillow doesn't support multi channel images with more than 8 bpc. It's a longstanding issue. |
See #1888. |
Thanks for the quick reply. I just exported the image from darktable again with 8 bit (adobe pdf) and with 8 bit sRGB... same issue, though (or I did something terribly wrong). |
Can you post that one? |
Both of those worked for me. |
Fun times. I have to hit the road now, I will reconfirm this when back home (probably Sunday) thanks for your time and support! |
Hi. This issue still exists. What can we do? |
Fun fact: I just checked old pictures I already processed with sigal and they are adobe RGB 16 bit ... and they worked! |
I tried the following: Exported an images as Adobe RGB and sRGB in both 8 bit and 16 bit (so 4 images). None was recognized. Using sigal 1.3.0. |
There's a recently added mode for PNG and TIFF that's a truncated RGB;16B mode, where it returns an 8 bit/channel image from a 16bit original. |
How recent is it? Is it in the 5.0.0 release? Because that's what sigal uses on my machine (nixpkgs packaged sigal with pillow 5.0.0). |
I think it may be 4.3.0, here: https://github.com/python-pillow/Pillow/blob/master/docs/releasenotes/4.3.0.rst#loading-16-bit-tiff-images |
@matthiasbeyer Still an issue? |
I can open and load all of the attached images with Pillow 4.3.0 with Python 2.7 on macOS 10.14. @matthiasbeyer what operating system are you using? |
Closing, as I am unable to reproduce, and due to lack of response. |
What did you do?
Using
sigal
to build a gallery.sigal
uses Pillow in version 4.3.0, though I build it with 5.0.0 as well and it did not work out (see full history of my issue there).What did you expect to happen?
No error...
What actually happened?
See here. For the lazy:
What versions of Pillow and Python are you using?
(Image was resized from ~85MB size)
The code below was executed with pillow 4.3.0 - the same error was produced with 5.0.0, though:
The text was updated successfully, but these errors were encountered: