Document that exif_transpose() does not change orientations of 1

This commit is contained in:
Andrew Murray 2022-08-04 14:19:17 +10:00
parent 1112ad67a3
commit 1197e19982

View File

@ -572,9 +572,9 @@ 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. The new image will have the orientation data
removed.
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.