aboutsummaryrefslogtreecommitdiffstats
path: root/doc/api.rst
blob: c1e17b214d6b14fc3590e516bef621dfeb86d8e3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
API documentation
=================

pyexiv2
#######

.. module:: pyexiv2
.. autodata:: version_info
.. autodata:: __version__
.. autodata:: exiv2_version_info
.. autodata:: __exiv2_version__

pyexiv2.metadata
################

.. module:: pyexiv2.metadata
.. autoclass:: ImageMetadata
   :members: from_buffer, read, write, dimensions, mime_type, exif_keys,
             iptc_keys, xmp_keys, __getitem__, __setitem__, __delitem__,
             comment, previews, copy, buffer

pyexiv2.exif
############

.. module:: pyexiv2.exif
.. autoexception:: ExifValueError
.. autoclass:: ExifTag
   :members: key, type, name, label, description, section_name,
             section_description, raw_value, value, human_value

pyexiv2.iptc
############

.. module:: pyexiv2.iptc
.. autoexception:: IptcValueError
.. autoclass:: IptcTag
   :members: key, type, name, title, description, photoshop_name, repeatable,
             record_name, record_description, raw_value, value

pyexiv2.xmp
###########

.. module:: pyexiv2.xmp
.. autoexception:: XmpValueError
.. autoclass:: XmpTag
   :members: key, type, name, title, description, raw_value, value

pyexiv2.preview
###############

.. module:: pyexiv2.preview
.. autoclass:: Preview
   :members: mime_type, extension, size, dimensions, data, write_to_file

pyexiv2.utils
#############

.. module:: pyexiv2.utils
.. autofunction:: undefined_to_string
.. autofunction:: string_to_undefined

.. autoclass:: Rational
   :members: numerator, denominator, from_string, to_float, __eq__
.. autoclass:: GPSCoordinate
   :members: degrees, minutes, seconds, direction, from_string, __eq__, __str__