From 43a12542ad83c8da7aa138fbf376b22895775e37 Mon Sep 17 00:00:00 2001 From: Rozie <60040522+RoziePlaysPython@users.noreply.github.com> Date: Fri, 23 Jun 2023 15:05:28 +0300 Subject: [PATCH 1/2] Update Image.show docs to list all viewers used on linux [ci skip] Accurate description of how default viewer is chosen --- src/PIL/Image.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PIL/Image.py b/src/PIL/Image.py index a785292f8..c19bdcac8 100644 --- a/src/PIL/Image.py +++ b/src/PIL/Image.py @@ -2451,7 +2451,7 @@ class Image: The image is first saved to a temporary file. By default, it will be in PNG format. - On Unix, the image is then opened using the **display**, **eog** or + On Unix, the image is then opened using the **xdg-open**, **display**, **gm**, **eog** or **xv** utility, depending on which one can be found. On macOS, the image is opened with the native Preview application. From b0b079882047ca2853714ba899ef719cc2ed70f9 Mon Sep 17 00:00:00 2001 From: Andrew Murray <3112309+radarhere@users.noreply.github.com> Date: Fri, 23 Jun 2023 22:22:33 +1000 Subject: [PATCH 2/2] Lint fix --- src/PIL/Image.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/PIL/Image.py b/src/PIL/Image.py index c19bdcac8..97f3f4926 100644 --- a/src/PIL/Image.py +++ b/src/PIL/Image.py @@ -2451,8 +2451,8 @@ class Image: The image is first saved to a temporary file. By default, it will be in PNG format. - On Unix, the image is then opened using the **xdg-open**, **display**, **gm**, **eog** or - **xv** utility, depending on which one can be found. + On Unix, the image is then opened using the **xdg-open**, **display**, + **gm**, **eog** or **xv** utility, depending on which one can be found. On macOS, the image is opened with the native Preview application.