Skip to content

Commit

Permalink
Merge pull request #6611 from radarhere/imageshow
Browse files Browse the repository at this point in the history
  • Loading branch information
hugovk committed Oct 12, 2022
2 parents a275541 + aabb964 commit 5852b84
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/PIL/ImageShow.py
Expand Up @@ -136,7 +136,7 @@ class WindowsViewer(Viewer):
"""The default viewer on Windows is the default system application for PNG files."""

format = "PNG"
options = {"compress_level": 1}
options = {"compress_level": 1, "save_all": True}

def get_command(self, file, **options):
return (
Expand All @@ -154,7 +154,7 @@ class MacViewer(Viewer):
"""The default viewer on macOS using ``Preview.app``."""

format = "PNG"
options = {"compress_level": 1}
options = {"compress_level": 1, "save_all": True}

def get_command(self, file, **options):
# on darwin open returns immediately resulting in the temp
Expand Down Expand Up @@ -197,7 +197,7 @@ def show_file(self, path=None, **options):

class UnixViewer(Viewer):
format = "PNG"
options = {"compress_level": 1}
options = {"compress_level": 1, "save_all": True}

def get_command(self, file, **options):
command = self.get_command_ex(file, **options)[0]
Expand Down

0 comments on commit 5852b84

Please sign in to comment.