Skip to content

Commit 5852b84

Browse files
authored
Merge pull request #6611 from radarhere/imageshow
2 parents a275541 + aabb964 commit 5852b84

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/PIL/ImageShow.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ class WindowsViewer(Viewer):
136136
"""The default viewer on Windows is the default system application for PNG files."""
137137

138138
format = "PNG"
139-
options = {"compress_level": 1}
139+
options = {"compress_level": 1, "save_all": True}
140140

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

156156
format = "PNG"
157-
options = {"compress_level": 1}
157+
options = {"compress_level": 1, "save_all": True}
158158

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

198198
class UnixViewer(Viewer):
199199
format = "PNG"
200-
options = {"compress_level": 1}
200+
options = {"compress_level": 1, "save_all": True}
201201

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

0 commit comments

Comments
 (0)