Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Added docs for previously-undocumented ExifTags module. #794

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 12, 2014
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions docs/reference/ExifTags.rst
Original file line number Diff line number Diff line change
@@ -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'
1 change: 1 addition & 0 deletions docs/reference/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ Reference
.. toctree::
:maxdepth: 2

ExifTags
Image
ImageChops
ImageColor
Expand Down