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

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

Merged
merged 1 commit into from
Jun 29, 2020

Conversation

radarhere
Copy link
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