From b07404e14061962202e6c37722e7b273df1ca268 Mon Sep 17 00:00:00 2001 From: Andrew Murray Date: Fri, 24 Dec 2021 09:05:54 +1100 Subject: [PATCH] Added release notes for #5897 --- docs/releasenotes/9.0.0.rst | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/docs/releasenotes/9.0.0.rst b/docs/releasenotes/9.0.0.rst index 39123012b94..edb2463c173 100644 --- a/docs/releasenotes/9.0.0.rst +++ b/docs/releasenotes/9.0.0.rst @@ -67,14 +67,6 @@ ImageFile.raise_ioerror has been removed. Use ``ImageFile.raise_oserror`` instead. -Deprecations -============ - -TODO -^^^^ - -TODO - API Changes =========== @@ -83,11 +75,19 @@ Added line width parameter to ImageDraw polygon An optional line ``width`` parameter has been added to ``ImageDraw.Draw.polygon``. -TODO API Additions ============= +ImageShow.XDGViewer +^^^^^^^^^^^^^^^^^^^ + +If ``xdg-open`` is present on Linux, this new :py:class:`PIL.ImageShow.Viewer` subclass +will be registered. It displays images using the application selected by the system. + +It is higher in priority than the other default :py:class:`PIL.ImageShow.Viewer` +instances, so it will be preferred by ``im.show()`` or :py:func:`.ImageShow.show()`. + Added support for "title" argument to DisplayViewer ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^