Merge pull request #5290 from radarhere/imageshow

Removed comment
This commit is contained in:
Hugo van Kemenade 2021-02-26 18:46:41 +02:00 committed by GitHub
commit af4ef759d2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -69,7 +69,6 @@ class Viewer:
Converts the given image to the target format and displays it.
"""
# save temporary image to disk
if not (
image.mode in ("1", "RGBA")
or (self.format == "PNG" and image.mode in ("I;16", "LA"))