Skip to content

Conversation

@radarhere
Copy link
Member

@radarhere radarhere commented Jul 24, 2024

Resolves #8255

Page 7 of https://cdn.standards.iteh.ai/samples/36628/10393e6ddb5c4dbc9513ae89230d97f9/ISO-IEC-15444-1-2000-Cor-2-2002.pdf explains that npc is

Number of components created by the application of the palette

When there are four components, this PR changes the palette to be RGBA.

Requires a test image from python-pillow/test-images#5

@radarhere radarhere added the JPEG label Jul 24, 2024
@radarhere radarhere changed the title Support JEPG2000 RGBA palettes Support JPEG2000 RGBA palettes Jul 24, 2024
@hugovk hugovk merged commit 7e838bf into python-pillow:main Sep 4, 2024
@radarhere radarhere deleted the jpeg2000_rgba branch September 5, 2024 04:58
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.

2 participants