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

Fixed behaviour change from endian fix #6197

Merged
merged 1 commit into from Jun 10, 2022
Merged

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