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
The code would normally have broken out of the loop before that. This section of the code is trying to find the image mode. However, it does not handle the case where meth is 2, which signifies the Restricted ICC profile.
What did you do?
I tried to open a JPEG 2000 file here.
(https://github.com/openpreserve/format-corpus/blob/master/jp2k-test/icc/balloon_eciRGBv2_aware.jp2)
The image can be opened by IrfanView, GIMP and read by ImageMagick.
What actually happened?
OSError: cannot identify image file 'balloon_eciRGBv2_aware.jp2'
What are your OS, Python and Pillow versions?
The text was updated successfully, but these errors were encountered: