Document that orientation data is removed by exif_transpose()

This commit is contained in:
Andrew Murray 2022-08-04 14:18:31 +10:00
parent 75913950c2
commit 1112ad67a3

View File

@ -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 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.