mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-13 10:46:16 +03:00
Docs: link exceptions to Python docs
This commit is contained in:
parent
38be37c5f9
commit
8cbd0b5fe0
|
@ -22,9 +22,10 @@ Catch OSError when checking if destination is sys.stdout
|
||||||
========================================================
|
========================================================
|
||||||
|
|
||||||
In 8.3.0, a check to see if the destination was ``sys.stdout`` when saving an image was
|
In 8.3.0, a check to see if the destination was ``sys.stdout`` when saving an image was
|
||||||
updated. This lead to an OSError being raised if the environment restricted access.
|
updated. This lead to an :py:exc:`OSError` being raised if the environment restricted
|
||||||
|
access.
|
||||||
|
|
||||||
The OSError is now silently caught.
|
The :py:exc:`OSError` is now silently caught.
|
||||||
|
|
||||||
Fixed removing orientation in ImageOps.exif_transpose
|
Fixed removing orientation in ImageOps.exif_transpose
|
||||||
=====================================================
|
=====================================================
|
||||||
|
@ -34,7 +35,7 @@ original image EXIF data was not modified, and the orientation was only removed
|
||||||
the modified copy.
|
the modified copy.
|
||||||
|
|
||||||
However, for certain images the orientation was already missing from the modified
|
However, for certain images the orientation was already missing from the modified
|
||||||
image, leading to a KeyError.
|
image, leading to a :py:exc:`KeyError`.
|
||||||
|
|
||||||
This error has been resolved, and the copying of metadata to the modified image
|
This error has been resolved, and the copying of metadata to the modified image
|
||||||
improved.
|
improved.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user