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

ImageFile.MAXBLOCK is still too low #528

Open
pgcd opened this issue Nov 24, 2017 · 0 comments
Open

ImageFile.MAXBLOCK is still too low #528

pgcd opened this issue Nov 24, 2017 · 0 comments

Comments

@pgcd
Copy link

pgcd commented Nov 24, 2017

While the issue might be addressed for most cases, there seems to be a related problem:
the line

if 'icc_profile' in image_info:

adds the ICC Profile to the image - which means that the encoder error may popup yet again for very large ICC profiles (I am looking at a 63K RGB Lab profile on a 120x80 thumbnail), which results in an "Encoder Error -2".

I'm not sure what the best solution would be (strip the ICC profile as well, or add it to the MAXBLOCX), so I'm not submitting a PR yet.

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

No branches or pull requests

1 participant