Skip to content

Do not convert I;16 images when showing PNGs - #4744

Merged
hugovk merged 1 commit into
python-pillow:masterfrom
radarhere:show
Jun 29, 2020
Merged

Do not convert I;16 images when showing PNGs#4744
hugovk merged 1 commit into
python-pillow:masterfrom
radarhere:show

Conversation

@radarhere

Copy link
Copy Markdown
Member

Resolves #4729

As explained in #4729 (comment), PNG can save I;16 images. Since Pillow has flawed I;16 conversion, avoiding conversion in this case fixes incorrect displaying of the image.

@radarhere radarhere added the Bug Any unexpected behavior, until confirmed feature. label Jun 29, 2020
@hugovk
hugovk merged commit e1c6084 into python-pillow:master Jun 29, 2020
@radarhere
radarhere deleted the show branch June 29, 2020 20:33
@radarhere radarhere changed the title Do not convert I;16 image when showing PNG Do not convert I;16 images when showing PNGs Jun 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bug Any unexpected behavior, until confirmed feature.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Image.show() problem with I;16 mode TIFFs

2 participants