mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-26 17:24:31 +03:00
Merge pull request #6476 from radarhere/exif
This commit is contained in:
commit
92b0f2c919
|
@ -572,8 +572,11 @@ def solarize(image, threshold=128):
|
||||||
|
|
||||||
def exif_transpose(image):
|
def exif_transpose(image):
|
||||||
"""
|
"""
|
||||||
If an image has an EXIF Orientation tag, return a new image that is
|
If an image has an EXIF Orientation tag, other than 1, return a new image
|
||||||
transposed accordingly. Otherwise, return a copy of the image.
|
that is transposed accordingly. The new image will have the orientation
|
||||||
|
data removed.
|
||||||
|
|
||||||
|
Otherwise, return a copy of the image.
|
||||||
|
|
||||||
:param image: The image to transpose.
|
:param image: The image to transpose.
|
||||||
:return: An image.
|
:return: An image.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user