Skip to content

Commit

Permalink
Merge pull request #5905 from radarhere/xdgviewer
Browse files Browse the repository at this point in the history
Added release notes for #5897
  • Loading branch information
hugovk committed Dec 24, 2021
2 parents bf1583f + b07404e commit 1e84725
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions docs/releasenotes/9.0.0.rst
Expand Up @@ -67,14 +67,6 @@ ImageFile.raise_ioerror
has been removed. Use ``ImageFile.raise_oserror`` instead.


Deprecations
============

TODO
^^^^

TODO

API Changes
===========

Expand All @@ -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
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Expand Down

0 comments on commit 1e84725

Please sign in to comment.