Merge pull request #4009 from radarhere/tifftags

Corrected tag types
This commit is contained in:
Andrew Murray 2019-10-02 19:18:56 +10:00 committed by GitHub
commit 91306dfac5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -120,7 +120,7 @@ TAGS_V2 = {
277: ("SamplesPerPixel", SHORT, 1), 277: ("SamplesPerPixel", SHORT, 1),
278: ("RowsPerStrip", LONG, 1), 278: ("RowsPerStrip", LONG, 1),
279: ("StripByteCounts", LONG, 0), 279: ("StripByteCounts", LONG, 0),
280: ("MinSampleValue", LONG, 0), 280: ("MinSampleValue", SHORT, 0),
281: ("MaxSampleValue", SHORT, 0), 281: ("MaxSampleValue", SHORT, 0),
282: ("XResolution", RATIONAL, 1), 282: ("XResolution", RATIONAL, 1),
283: ("YResolution", RATIONAL, 1), 283: ("YResolution", RATIONAL, 1),
@ -182,7 +182,7 @@ TAGS_V2 = {
# FIXME add more tags here # FIXME add more tags here
34665: ("ExifIFD", LONG, 1), 34665: ("ExifIFD", LONG, 1),
34675: ("ICCProfile", UNDEFINED, 1), 34675: ("ICCProfile", UNDEFINED, 1),
34853: ("GPSInfoIFD", BYTE, 1), 34853: ("GPSInfoIFD", LONG, 1),
# MPInfo # MPInfo
45056: ("MPFVersion", UNDEFINED, 1), 45056: ("MPFVersion", UNDEFINED, 1),
45057: ("NumberOfImages", LONG, 1), 45057: ("NumberOfImages", LONG, 1),