Skip to content

Commit

Permalink
Added release notes for python-pillow#5455
Browse files Browse the repository at this point in the history
  • Loading branch information
radarhere committed Jun 30, 2021
1 parent 7faa107 commit 25daffc
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions docs/releasenotes/8.3.0.rst
Expand Up @@ -31,6 +31,17 @@ ImageMorph incorrect mode errors
For ``apply()``, ``match()`` and ``get_on_pixels()``, if the image mode is not L, an
:py:exc:`Exception` was thrown. This has now been changed to a :py:exc:`ValueError`.

getxmp()
^^^^^^^^

`XMP data <https://en.wikipedia.org/wiki/Extensible_Metadata_Platform>`_ can now be
returned for PNG and TIFF images, through ``getxmp()`` for each format.

The returned dictionary will start from the base of the XML, meaning that the top level
should contain an "xmpmeta" key. :py:meth:`~PIL.JpegImagePlugin.getxmp` has also been
updated to this structure.


API Additions
=============

Expand Down

0 comments on commit 25daffc

Please sign in to comment.