You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
While the issue might be addressed for most cases, there seems to be a related problem:
the line
sorl-thumbnail/sorl/thumbnail/engines/pil_engine.py
Line 243 in de3a621
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.
The text was updated successfully, but these errors were encountered: