Skip to content

Conversation

@radarhere
Copy link
Member

@radarhere radarhere commented Apr 11, 2022

Resolves #6194

The issue describes a change between Pillow versions in decoding JPEG2000 images. Investigating, it was caused by #5901. In fixing the behaviour on big-endian, I unintentionally changed the behaviour on little-endian as well. This PR changes Pillow to behave as before on little-endian systems.

The test image is a cropped hopper.png saved using a modified version of Pillow.

@hugovk hugovk merged commit f7ec22f into python-pillow:main Jun 10, 2022
@radarhere radarhere deleted the endian branch June 10, 2022 22:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Wrong decoding of 15-bit JPEG2000 images

2 participants