Skip to content

Commit

Permalink
Merge pull request #8568 from radarhere/fixifd
Browse files Browse the repository at this point in the history
  • Loading branch information
hugovk authored Jan 16, 2025
2 parents e59549f + c67ed46 commit bff83cf
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/PIL/TiffImagePlugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -2232,6 +2232,16 @@ def fixIFD(self) -> None:
if tag in self.Tags:
cur_pos = self.f.tell()

logger.debug(
"fixIFD: %s (%d) - type: %s (%d) - type size: %d - count: %d",
TiffTags.lookup(tag).name,
tag,
TYPES.get(field_type, "unknown"),
field_type,
field_size,
count,
)

if is_local:
self._fixOffsets(count, field_size)
self.f.seek(cur_pos + fmt_size)
Expand Down

0 comments on commit bff83cf

Please sign in to comment.