Skip to content

Commit

Permalink
ah
Browse files Browse the repository at this point in the history
  • Loading branch information
radarhere committed Sep 8, 2023
1 parent 30d9e3c commit a4363ae
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/PIL/TiffImagePlugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -1203,9 +1203,6 @@ def load(self):
return super().load()

def load_end(self):
self.load()
self.getexif()

# allow closing if we're on the first frame, there's no next
# This is the ImageFile.load path only, libtiff specific below.
if not self.is_animated:
Expand All @@ -1222,6 +1219,8 @@ def load_end(self):
continue
exif.get_ifd(key)

ImageOps.exif_transpose(self, in_place=True)

def _load_libtiff(self):
"""Overload method triggered when we detect a compressed tiff
Calls out to libtiff"""
Expand Down

0 comments on commit a4363ae

Please sign in to comment.