From 7faa107c989ef387c4f9f240dc8fa8b23101a1c4 Mon Sep 17 00:00:00 2001 From: Andrew Murray Date: Wed, 30 Jun 2021 12:09:44 +1000 Subject: [PATCH 1/3] Added release notes for #5402 --- docs/releasenotes/8.3.0.rst | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/releasenotes/8.3.0.rst b/docs/releasenotes/8.3.0.rst index 2c4b6f122..e3b29ad45 100644 --- a/docs/releasenotes/8.3.0.rst +++ b/docs/releasenotes/8.3.0.rst @@ -76,8 +76,10 @@ is not secure. Other Changes ============= -Added DDS BC5 reading -^^^^^^^^^^^^^^^^^^^^^ +Added DDS BC5 reading and uncompressed saving +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Support has been added to read the BC5 format of DDS images, whether UNORM, SNORM or TYPELESS. + +Support has also been added to write the uncompressed format of DDS images. From fcfa14a43b79241a331e189bec52969cd1304ffd Mon Sep 17 00:00:00 2001 From: Andrew Murray Date: Wed, 30 Jun 2021 13:54:10 +1000 Subject: [PATCH 2/3] Added release notes for #5455 --- docs/releasenotes/8.3.0.rst | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docs/releasenotes/8.3.0.rst b/docs/releasenotes/8.3.0.rst index e3b29ad45..40533c940 100644 --- a/docs/releasenotes/8.3.0.rst +++ b/docs/releasenotes/8.3.0.rst @@ -31,6 +31,16 @@ 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 `_ 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 ============= From 53b3d5c8458630cecd8a5278992c10b03f0ed4b7 Mon Sep 17 00:00:00 2001 From: Andrew Murray Date: Wed, 30 Jun 2021 13:54:44 +1000 Subject: [PATCH 3/3] Added release notes for #5416 --- docs/releasenotes/8.3.0.rst | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/releasenotes/8.3.0.rst b/docs/releasenotes/8.3.0.rst index 40533c940..fed8c1eca 100644 --- a/docs/releasenotes/8.3.0.rst +++ b/docs/releasenotes/8.3.0.rst @@ -41,6 +41,14 @@ The returned dictionary will start from the base of the XML, meaning that the to should contain an "xmpmeta" key. JPEG's ``getxmp()`` method has also been updated to this structure. +TIFF getexif() +^^^^^^^^^^^^^^ + +TIFF :py:attr:`~PIL.TiffImagePlugin.TiffImageFile.tag_v2` data can now be accessed +through :py:meth:`~PIL.Image.Image.getexif`. This also provides access to the GPS and +EXIF IFDs, through ``im.getexif().get_ifd(0x8825)`` and +``im.getexif().get_ifd(0x8769)`` respectively. + API Additions =============