Skip to content

Commit 92b0f2c

Browse files
authored
Merge pull request #6476 from radarhere/exif
2 parents 5d71ba3 + 8ce2890 commit 92b0f2c

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

src/PIL/ImageOps.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -572,8 +572,11 @@ def solarize(image, threshold=128):
572572

573573
def exif_transpose(image):
574574
"""
575-
If an image has an EXIF Orientation tag, return a new image that is
576-
transposed accordingly. Otherwise, return a copy of the image.
575+
If an image has an EXIF Orientation tag, other than 1, return a new image
576+
that is transposed accordingly. The new image will have the orientation
577+
data removed.
578+
579+
Otherwise, return a copy of the image.
577580
578581
:param image: The image to transpose.
579582
:return: An image.

0 commit comments

Comments
 (0)