Skip to content

Commit 7a6664d

Browse files
authored
Added four private SGI TIFF tags (#9245)
2 parents 9e3a70a + e36bf76 commit 7a6664d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/PIL/TiffTags.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,11 @@ def lookup(tag: int, group: int | None = None) -> TagInfo:
203203
531: ("YCbCrPositioning", SHORT, 1),
204204
532: ("ReferenceBlackWhite", RATIONAL, 6),
205205
700: ("XMP", BYTE, 0),
206+
# Four private SGI tags
207+
32995: ("Matteing", SHORT, 1),
208+
32996: ("DataType", SHORT, 0),
209+
32997: ("ImageDepth", LONG, 1),
210+
32998: ("TileDepth", LONG, 1),
206211
33432: ("Copyright", ASCII, 1),
207212
33723: ("IptcNaaInfo", UNDEFINED, 1),
208213
34377: ("PhotoshopInfo", BYTE, 0),

0 commit comments

Comments
 (0)