ExifTags
モジュール¶
ExifTags
モジュールは、よく知られた EXIF タグの定数と分かりやすい名前を提供するいくつかの enum.IntEnum
クラスを公開します。
- PIL.ExifTags.Base[source]¶
>>> from PIL.ExifTags import Base >>> Base.ImageDescription.value 270 >>> Base(270).name 'ImageDescription'
- PIL.ExifTags.GPS[source]¶
>>> from PIL.ExifTags import GPS >>> GPS.GPSDestLatitude.value 20 >>> GPS(20).name 'GPSDestLatitude'
- PIL.ExifTags.Interop[source]¶
>>> from PIL.ExifTags import Interop >>> Interop.RelatedImageFileFormat.value 4096 >>> Interop(4096).name 'RelatedImageFileFormat'
- PIL.ExifTags.IFD[source]¶
>>> from PIL.ExifTags import IFD >>> IFD.Exif.value 34665 >>> IFD(34665).name 'Exif
- PIL.ExifTags.LightSource[source]¶
>>> from PIL.ExifTags import LightSource >>> LightSource.Unknown.value 0 >>> LightSource(0).name 'Unknown'
これらの値のうち2つは、辞書としても公開されています。