ExifTags
模块#
这个 ExifTags
模块公开了几个 enum.IntEnum
类,这些类为各种常见的EXIF标记提供常量和明文名称。
- PIL.ExifTags.Base[源代码]#
>>> from PIL.ExifTags import Base >>> Base.ImageDescription.value 270 >>> Base(270).name 'ImageDescription'
- PIL.ExifTags.GPS[源代码]#
>>> from PIL.ExifTags import GPS >>> GPS.GPSDestLatitude.value 20 >>> GPS(20).name 'GPSDestLatitude'
- PIL.ExifTags.Interop[源代码]#
>>> from PIL.ExifTags import Interop >>> Interop.RelatedImageFileFormat.value 4096 >>> Interop(4096).name 'RelatedImageFileFormat'
- PIL.ExifTags.IFD[源代码]#
>>> from PIL.ExifTags import IFD >>> IFD.Exif.value 34665 >>> IFD(34665).name 'Exif
- PIL.ExifTags.LightSource[源代码]#
>>> from PIL.ExifTags import LightSource >>> LightSource.Unknown.value 0 >>> LightSource(0).name 'Unknown'
其中两个值也作为词典公开。