mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-24 17:06:16 +03:00
Added docs for previously-undocumented ExifTags module.
This commit is contained in:
parent
ee29b0812b
commit
0b278f3376
26
docs/reference/ExifTags.rst
Normal file
26
docs/reference/ExifTags.rst
Normal file
|
@ -0,0 +1,26 @@
|
|||
.. py:module:: PIL.ExifTags
|
||||
.. py:currentmodule:: PIL.ExifTags
|
||||
|
||||
:py:mod:`ExifTags` Module
|
||||
==========================
|
||||
|
||||
The :py:mod:`ExifTags` module exposes two dictionaries which
|
||||
provide constants and clear-text names for various well-known EXIF tags.
|
||||
|
||||
.. py:class:: PIL.ExifTags.TAGS
|
||||
|
||||
The TAG dictionary maps 16-bit integer EXIF tag enumerations to
|
||||
descriptive string names. For instance:
|
||||
|
||||
>>> from PIL.ExifTags import TAGS
|
||||
>>> TAGS[0x010e]
|
||||
'ImageDescription'
|
||||
|
||||
.. py:class:: PIL.ExifTags.GPSTAGS
|
||||
|
||||
The GPSTAGS dictionary maps 8-bit integer EXIF gps enumerations to
|
||||
descriptive string names. For instance:
|
||||
|
||||
>>> from PIL.ExifTags import GPSTAGS
|
||||
>>> GPSTAGS[20]
|
||||
'GPSDestLatitude'
|
|
@ -4,6 +4,7 @@ Reference
|
|||
.. toctree::
|
||||
:maxdepth: 2
|
||||
|
||||
ExifTags
|
||||
Image
|
||||
ImageChops
|
||||
ImageColor
|
||||
|
|
Loading…
Reference in New Issue
Block a user