We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7dcf4d8 commit c67ed46Copy full SHA for c67ed46
src/PIL/TiffImagePlugin.py
@@ -2202,11 +2202,15 @@ def fixIFD(self) -> None:
2202
if tag in self.Tags:
2203
cur_pos = self.f.tell()
2204
2205
- tagname = TiffTags.lookup(tag).name
2206
- typname = TYPES.get(field_type, "unknown")
2207
- msg = f"fixIFD: {tagname} ({tag}) - type: {typname} ({field_type})"
2208
- msg += f"- type size: {field_size} - count: {count}"
2209
- logger.debug(msg)
+ logger.debug(
+ "fixIFD: %s (%d) - type: %s (%d) - type size: %d - count: %d",
+ TiffTags.lookup(tag).name,
+ tag,
+ TYPES.get(field_type, "unknown"),
2210
+ field_type,
2211
+ field_size,
2212
+ count,
2213
+ )
2214
2215
if is_local:
2216
self._fixOffsets(count, field_size)
0 commit comments