Skip to content

Commit

Permalink
Document that exif_transpose() does not change orientations of 1
Browse files Browse the repository at this point in the history
  • Loading branch information
radarhere committed Aug 4, 2022
1 parent 1112ad6 commit 1197e19
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/PIL/ImageOps.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 1197e19

Please sign in to comment.