diff --git a/docs/deprecations.rst b/docs/deprecations.rst index 203921c0b..885fba4cd 100644 --- a/docs/deprecations.rst +++ b/docs/deprecations.rst @@ -18,7 +18,7 @@ ImageFile.raise_ioerror .. deprecated:: 7.2.0 ``IOError`` was merged into ``OSError`` in Python 3.3. So, ``ImageFile.raise_ioerror`` -is now deprecated and will be removed in a future released. Use +is now deprecated and will be removed in a future release. Use ``ImageFile.raise_oserror`` instead. PILLOW_VERSION constant diff --git a/docs/releasenotes/7.2.0.rst b/docs/releasenotes/7.2.0.rst index 904e9d5ab..26a1464a4 100644 --- a/docs/releasenotes/7.2.0.rst +++ b/docs/releasenotes/7.2.0.rst @@ -27,3 +27,19 @@ Moved from the legacy :py:class:`PIL.TiffImagePlugin.ImageFileDirectory_v1` to :py:class:`PIL.Image.Exif`. This means that Exif RATIONALs and SIGNED_RATIONALs are now read as :py:class:`PIL.TiffImagePlugin.IFDRational`, instead of as a tuple with a numerator and a denominator. + +TIFF BYTE tags format +^^^^^^^^^^^^^^^^^^^^^ + +TIFF BYTE tags were previously read as a tuple containing a bytestring. They +are now read as just a single bytestring. + +Deprecations +^^^^^^^^^^^^ + +ImageFile.raise_ioerror +~~~~~~~~~~~~~~~~~~~~~~~ + +``IOError`` was merged into ``OSError`` in Python 3.3. So, ``ImageFile.raise_ioerror`` +is now deprecated and will be removed in a future release. Use +``ImageFile.raise_oserror`` instead.