Skip to content

Commit 1112ad6

Browse files
committed
Document that orientation data is removed by exif_transpose()
1 parent 7591395 commit 1112ad6

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 return a new image that is
576+
transposed accordingly. The new image will have the orientation data
577+
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)