mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-06-30 18:03:07 +03:00
Added release notes for #5455
This commit is contained in:
parent
7faa107c98
commit
fcfa14a43b
|
@ -31,6 +31,16 @@ ImageMorph incorrect mode errors
|
||||||
For ``apply()``, ``match()`` and ``get_on_pixels()``, if the image mode is not L, an
|
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`.
|
: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. JPEG's ``getxmp()`` method has also been updated to
|
||||||
|
this structure.
|
||||||
|
|
||||||
API Additions
|
API Additions
|
||||||
=============
|
=============
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user