Skip to content

Do not use palette from grayscale or bilevel colorspace when reading JPEG2000 images#9468

Open
radarhere wants to merge 1 commit intopython-pillow:mainfrom
radarhere:jpeg2000_l
Open

Do not use palette from grayscale or bilevel colorspace when reading JPEG2000 images#9468
radarhere wants to merge 1 commit intopython-pillow:mainfrom
radarhere:jpeg2000_l

Conversation

@radarhere
Copy link
Member

Allows the first image from #9455 to be read correctly.

If a JPEG2000 image has a ColorSpace of Bi-level (0 or 15) or Grayscale (17), then leave it as an L mode image, rather than using the palette.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant