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 JPEG-2000 standard does not specify any means for encoding color space information in a JPEG-2000 code stream, the decoder must make certain assupmtions about the color space of an image. If accurate color representation is important, the JPEG-2000 code stream format should not be employed. The JPEG-2000 JP2 format should be used instead.
OpenJPEG 2.5.3 has now been released, so I've created #8592 to add CMYK JP2 saving.
#8591 has updated the version that Pillow uses in wheels, but if you install Pillow some other way, then you should note that this will need OpenJPEG 2.5.3 to be installed.
When running
Image.open('cmyk.tif').save('out.jp2')
I get:
OSError: encoder error -2 when writing image file
Same with writing to '.j2k'. Same with other CMYK images I tried. I am using Pillow v. 10.1.0.
cmyk.tif.zip
The text was updated successfully, but these errors were encountered: