Skip to content

Commit

Permalink
Check that orientation is still absent after reloading Exif
Browse files Browse the repository at this point in the history
  • Loading branch information
radarhere committed Jul 27, 2022
1 parent 7e1261c commit bac83f7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Tests/test_imageops.py
Expand Up @@ -352,6 +352,9 @@ def check(orientation_im):
transposed_im = ImageOps.exif_transpose(im)
assert 0x0112 not in transposed_im.getexif()

transposed_im._reload_exif()
assert 0x0112 not in transposed_im.getexif()

# Orientation from "Raw profile type exif" info key
# This test image has been manually hexedited from exif_imagemagick.png
# to have a different orientation
Expand Down

0 comments on commit bac83f7

Please sign in to comment.