mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-06-29 09:23:11 +03:00
Merge pull request #5905 from radarhere/xdgviewer
Added release notes for #5897
This commit is contained in:
commit
1e847256db
|
@ -67,14 +67,6 @@ ImageFile.raise_ioerror
|
||||||
has been removed. Use ``ImageFile.raise_oserror`` instead.
|
has been removed. Use ``ImageFile.raise_oserror`` instead.
|
||||||
|
|
||||||
|
|
||||||
Deprecations
|
|
||||||
============
|
|
||||||
|
|
||||||
TODO
|
|
||||||
^^^^
|
|
||||||
|
|
||||||
TODO
|
|
||||||
|
|
||||||
API Changes
|
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``.
|
An optional line ``width`` parameter has been added to ``ImageDraw.Draw.polygon``.
|
||||||
|
|
||||||
TODO
|
|
||||||
|
|
||||||
API Additions
|
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
|
Added support for "title" argument to DisplayViewer
|
||||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user