Skip to content

Added reading of JPEG2000 palettes#7870

Merged
hugovk merged 1 commit intopython-pillow:mainfrom
radarhere:j2k_pclr
Mar 21, 2024
Merged

Added reading of JPEG2000 palettes#7870
hugovk merged 1 commit intopython-pillow:mainfrom
radarhere:j2k_pclr

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.

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