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

Added reading of JPEG2000 palettes #7870

Merged
merged 1 commit into from
Mar 21, 2024
Merged

Conversation

radarhere
Copy link
Member

Resolves #7511

This reads palette data from the JPEG2000 pclr box, and assigns it to the image's palette.

I used page 28 of https://web.archive.org/web/20230327234610/https://wiki.opf-labs.org/download/attachments/11337762/15444-1annexi.pdf as a reference.

This is a recreation of #7867 after I accidentally deleted it.

@hugovk hugovk merged commit 9d3c8d5 into python-pillow:main Mar 21, 2024
59 checks passed
@radarhere radarhere deleted the j2k_pclr branch March 21, 2024 21:19
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.

JPEG2000 image read incorrectly
2 participants