mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-12 18:26:17 +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):
|
||||
"""
|
||||
If an image has an EXIF Orientation tag, return a new image that is
|
||||
transposed accordingly. Otherwise, return a copy of the image.
|
||||
If an image has an EXIF Orientation tag, other than 1, return a new 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.
|
||||
:return: An image.
|
||||
|
|
Loading…
Reference in New Issue
Block a user