Skip to content

Commit 0f8fffb

Browse files
Mention GraphicsMagick support release notes 8.2.0
Co-authored-by: Andrew Murray <[email protected]>
1 parent 5279443 commit 0f8fffb

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

docs/releasenotes/8.2.0.rst

+21
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,18 @@ instances, so it will only be used by ``im.show()`` or :py:func:`.ImageShow.show
6565
if none of the other viewers are available. This means that the behaviour of
6666
:py:class:`PIL.ImageShow` will stay the same for most Pillow users.
6767

68+
ImageShow.GmDisplayViewer
69+
^^^^^^^^^^^^^^^^^^^^^^^^^
70+
71+
If GraphicsMagick is present, this new :py:class:`PIL.ImageShow.Viewer` subclass will
72+
be registered. It uses GraphicsMagick_, an ImageMagick_ fork, to display images.
73+
74+
The GraphicsMagick based viewer has a lower priority than its ImageMagick
75+
counterpart. Thus, if both ImageMagick and GraphicsMagick are installed,
76+
``im.show()`` and :py:func:`.ImageShow.show()` prefer the viewer based on
77+
ImageMagick, i.e the behaviour stays the same for Pillow users having
78+
ImageMagick installed.
79+
6880
Saving TIFF with ICC profile
6981
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
7082

@@ -86,3 +98,12 @@ PyQt6
8698

8799
Support has been added for PyQt6. If it is installed, it will be used instead of
88100
PySide6, PyQt5 or PySide2.
101+
102+
GraphicsMagick
103+
^^^^^^^^^^^^^^
104+
105+
The test suite can now be run on systems which have GraphicsMagick_ but not
106+
ImageMagick_ installed. If both are installed, the tests prefer ImageMagick.
107+
108+
.. _GraphicsMagick: http://www.graphicsmagick.org/
109+
.. _ImageMagick: https://imagemagick.org/

0 commit comments

Comments
 (0)