mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-24 17:06:16 +03:00
Merge pull request #4132 from radarhere/orientation
Added orientation note
This commit is contained in:
commit
7fad924ac0
|
@ -104,6 +104,15 @@ the file format handler (see the chapter on :ref:`image-file-formats`). Most
|
|||
handlers add properties to the :py:attr:`~PIL.Image.Image.info` attribute when
|
||||
loading an image, but ignore it when saving images.
|
||||
|
||||
Orientation
|
||||
-----------
|
||||
|
||||
A common element of the :py:attr:`~PIL.Image.Image.info` attribute for JPG and
|
||||
TIFF images is the EXIF orientation tag. This is an instruction for how the
|
||||
image data should be oriented. For example, it may instruct an image to be
|
||||
rotated by 90 degrees, or to be mirrored. To apply this information to an
|
||||
image, :py:meth:`~PIL.ImageOps.exif_transpose` can be used.
|
||||
|
||||
.. _concept-filters:
|
||||
|
||||
Filters
|
||||
|
|
Loading…
Reference in New Issue
Block a user