mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-15 03:46:28 +03:00
commit
af4ef759d2
|
@ -69,7 +69,6 @@ class Viewer:
|
||||||
Converts the given image to the target format and displays it.
|
Converts the given image to the target format and displays it.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
# save temporary image to disk
|
|
||||||
if not (
|
if not (
|
||||||
image.mode in ("1", "RGBA")
|
image.mode in ("1", "RGBA")
|
||||||
or (self.format == "PNG" and image.mode in ("I;16", "LA"))
|
or (self.format == "PNG" and image.mode in ("I;16", "LA"))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user