-
Notifications
You must be signed in to change notification settings - Fork 171
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
cannot identify image file #287
Comments
Could you try with only one process and debug mode ( |
Sure. sigal 1.0.1
sigal 1.3.0
All other images work btw. I have the images inside a btw: Both started with |
Ok, so it's really a PIL (or Pillow, which one do you use?) issue with this file, which may be corrupted. If you are using Pillow and the file seems valid, it may be something to report on their side. |
Pardon me? 😄 If you mean dependencies, sigal is packaged with: jinja2 markdown pillow pilkit clint click blinker in nixpkgs. The file is brand-new - I just edited the raw file and created the png from it... so I doubt that there is file-corruption going on (besides, I can view the image with an image-viewer...). |
Yes sorry ;), Sigal uses the PIL/Pillow library for image reading etc. Can you try this in a Python console:
|
|
Hmm, maybe try with
|
From what I understand, this sounds like an upstream issue now, right? |
Yes 😉 |
I just filed an update for pillow ... let me check whether this fixes the issue. Update: It does not. |
Given the comments in the Pillow issue I think I can close this now, feel free to reopen if you still have the issue with sigal. |
As this issue still exists for me, I just want to confirm: There are two image processing libraries I can use with sigal? Pillow and PIL? Because I could try to use the other lib and reproduce... If you check out the issue in the pillow repository, you'll see that they state that Adobe RGB 16 bit does not work, but all images I processed so far are Adobe RGB 16 bit. So I wonder whether sigal used the other image processing library for those and fails to do so now... |
Pillow started as a fork of PIL, which was not compatible with Python 3 and not updated. So you should just use Pillow, PIL is dead. http://pillow.readthedocs.io/en/latest/about.html#what-about-pil |
Hi,
first: Thanks for this awesome tool! Am using it for ~half a year now and I love it so far!
I got this error (both with sigal 1.0.1 and 1.3.0, though 1.0.1 did not include the backtrace):
(Don't mind the strange pathes, this is NixOS).
I think there's very little information actually in the error message... what does "identify" mean, for example.
If you want, I can share the image with you so you can try to reproduce!
The text was updated successfully, but these errors were encountered: