Skip to content

Commit

Permalink
Merge pull request #300 from freyes/add-new-exif-tag-codes
Browse files Browse the repository at this point in the history
Added some missing exif tags
  • Loading branch information
aclark4life committed Jul 24, 2013
2 parents c74738a + 64cc8f9 commit b97eb32
Showing 1 changed file with 18 additions and 4 deletions.
22 changes: 18 additions & 4 deletions PIL/ExifTags.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,19 @@
TAGS = {

# possibly incomplete
0x00fe: "NewSubfileType",
0x00ff: "SubfileType",
0x0100: "ImageWidth",
0x0101: "ImageLength",
0x0102: "BitsPerSample",
0x0103: "Compression",
0x0106: "PhotometricInterpretation",
0x0107: "Threshholding",
0x0108: "CellWidth",
0x0109: "CellLenght",
0x010a: "FillOrder",
0x010d: "DocumentName",
0x011d: "PageName",
0x010e: "ImageDescription",
0x010f: "Make",
0x0110: "Model",
Expand All @@ -33,19 +41,25 @@
0x0115: "SamplesPerPixel",
0x0116: "RowsPerStrip",
0x0117: "StripByteConunts",
0x0118: "MinSampleValue",
0x0119: "MaxSampleValue",
0x011a: "XResolution",
0x011a: "XResolution",
0x011b: "YResolution",
0x011b: "YResolution",
0x011c: "PlanarConfiguration",
0x0128: "ResolutionUnit",
0x0120: "FreeOffsets",
0x0121: "FreeByteCounts",
0x0122: "GrayResponseUnit",
0x0123: "GrayResponseCurve",
0x0128: "ResolutionUnit",
0x012d: "TransferFunction",
0x0131: "Software",
0x0132: "DateTime",
0x013b: "Artist",
0x013c: "HostComputer",
0x013e: "WhitePoint",
0x013f: "PrimaryChromaticities",
0x0140: "ColorMap",
0x0152: "ExtraSamples",
0x0201: "JpegIFOffset",
0x0202: "JpegIFByteCount",
0x0211: "YCbCrCoefficients",
Expand Down Expand Up @@ -179,4 +193,4 @@
29: "GPSDateStamp",
30: "GPSDifferential",
31: "GPSHPositioningError",
}
}

0 comments on commit b97eb32

Please sign in to comment.