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:
- >>> from PIL.ExifTags import TAGS
- >>> TAGS[0x010e]
- 'ImageDescription'
- class
PIL.ExifTags.
GPSTAGS
- The GPSTAGS dictionary maps 8-bit integer EXIF gps enumerations todescriptive string names. For instance:
- >>> from PIL.ExifTags import GPSTAGS
- >>> GPSTAGS[20]
- 'GPSDestLatitude'