Skip to content

Added reading of JPEG2000 palettes#7867

Closed
radarhere wants to merge 1 commit intopython-pillow:mainfrom
radarhere:j2k_pclr
Closed

Added reading of JPEG2000 palettes#7867
radarhere wants to merge 1 commit intopython-pillow:mainfrom
radarhere:j2k_pclr

Conversation

@radarhere
Copy link
Copy Markdown
Member

@radarhere radarhere commented Mar 11, 2024

Resolves #7511
Requires python-pillow/test-images#2

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.

@hugovk
Copy link
Copy Markdown
Member

hugovk commented Mar 11, 2024

Requires python-pillow/test-images#2

Merged, and CI restarted.

@radarhere radarhere closed this Mar 12, 2024
@radarhere radarhere deleted the j2k_pclr branch March 12, 2024 00:46
@radarhere radarhere restored the j2k_pclr branch March 12, 2024 00:46
@radarhere
Copy link
Copy Markdown
Member Author

I accidentally deleted this branch, and have recreated it as #7870

@mergify
Copy link
Copy Markdown
Contributor

mergify bot commented Mar 12, 2024

⚠️ The sha of the head commit of this PR conflicts with #7870. Mergify cannot evaluate rules on this PR. ⚠️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

JPEG2000 image read incorrectly

2 participants