Support JPEG2000 RGBA palettes by radarhere · Pull Request #8256 · python-pillow/Pillow

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

@radarhere

Copy link Copy Markdown

Member

@radarhere radarhere commented

Jul 24, 2024

edited

Loading

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

Reviewers

No reviews

Assignees

No one assigned

Labels

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@radarhere @hugovk