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

Support JPEG2000 RGBA palettes #8256

Merged
merged 1 commit into from
Sep 4, 2024
Merged

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
50 of 51 checks passed
@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