mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-07-15 02:32:29 +03:00
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
0eac4f1942
commit
074c6afdc7
|
@ -1434,7 +1434,7 @@ class Image:
|
||||||
def getexif(self):
|
def getexif(self):
|
||||||
"""
|
"""
|
||||||
Gets EXIF data of the image.
|
Gets EXIF data of the image.
|
||||||
|
|
||||||
:returns: an :py:class:`~PIL.Image.Exif` object.
|
:returns: an :py:class:`~PIL.Image.Exif` object.
|
||||||
"""
|
"""
|
||||||
if self._exif is None:
|
if self._exif is None:
|
||||||
|
@ -3608,18 +3608,19 @@ atexit.register(core.clear_cache)
|
||||||
class Exif(MutableMapping):
|
class Exif(MutableMapping):
|
||||||
"""
|
"""
|
||||||
Exif class provides read and write access to EXIF image data.
|
Exif class provides read and write access to EXIF image data.
|
||||||
|
|
||||||
Only basic information is available on the root level, in Exif object
|
Only basic information is available on the root level, in Exif object
|
||||||
itself. In order to access the rest, obtain their respective IFDs using
|
itself. In order to access the rest, obtain their respective IFDs using
|
||||||
:py:meth:`~PIL.Image.Exif.get_ifd` method and one of
|
:py:meth:`~PIL.Image.Exif.get_ifd` method and one of
|
||||||
:py:class:`~PIL.ExifTags.IFD` members (most notably ``Exif`` and
|
:py:class:`~PIL.ExifTags.IFD` members (most notably ``Exif`` and
|
||||||
``GPSInfo``).
|
``GPSInfo``).
|
||||||
|
|
||||||
Both root Exif and child IFD objects support dict interface and can be
|
Both root Exif and child IFD objects support dict interface and can be
|
||||||
indexed by int values that are available as enum members of
|
indexed by int values that are available as enum members of
|
||||||
:py:class:`~PIL.ExifTags.Base`, :py:class:`~PIL.ExifTags.GPS`, and
|
:py:class:`~PIL.ExifTags.Base`, :py:class:`~PIL.ExifTags.GPS`, and
|
||||||
:py:class:`~PIL.ExifTags.Interop`.
|
:py:class:`~PIL.ExifTags.Interop`.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
endian = None
|
endian = None
|
||||||
bigtiff = False
|
bigtiff = False
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user