ExifTags Module

The ExifTags module exposes two dictionaries whichprovide constants and clear-text names for various well-known EXIF tags.

  • class PIL.ExifTags.TAGS
  • The TAG dictionary maps 16-bit integer EXIF tag enumerations todescriptive string names. For instance:
  1. >>> from PIL.ExifTags import TAGS
  2. >>> TAGS[0x010e]
  3. 'ImageDescription'
  • class PIL.ExifTags.GPSTAGS
  • The GPSTAGS dictionary maps 8-bit integer EXIF gps enumerations todescriptive string names. For instance:
  1. >>> from PIL.ExifTags import GPSTAGS
  2. >>> GPSTAGS[20]
  3. 'GPSDestLatitude'