aboutsummaryrefslogtreecommitdiffstats
path: root/src/pyexiv2.py
Commit message (Collapse)AuthorAgeFilesLines
* XMP Boolean to string conversion + unit tests.Olivier Tilloy2009-01-271-0/+15
|
* XmpTag: value conversion at init.Olivier Tilloy2009-01-271-1/+1
|
* XMP bag conversion + unit tests.Olivier Tilloy2009-01-271-3/+8
|
* XMP ProperName conversion + unit tests.Olivier Tilloy2009-01-271-4/+1
|
* XMP URL and URI conversion + unit tests.Olivier Tilloy2009-01-261-5/+4
|
* XMP Text conversion + unit tests.Olivier Tilloy2009-01-261-2/+6
|
* XMP LangAlt conversion + unit tests.Olivier Tilloy2009-01-261-7/+21
|
* Unit tests for XMP integer conversion.Olivier Tilloy2009-01-221-1/+10
|
* XMP MIMEType conversion + unit tests.Olivier Tilloy2009-01-221-2/+6
|
* Unit tests for the conversion of XMP tags, started fixing the conversion of ↵Olivier Tilloy2009-01-221-12/+29
| | | | Dates.
* XMP Date conversion complete.Olivier Tilloy2009-01-211-58/+80
|
* XMP Date custom regular expression.Olivier Tilloy2009-01-201-11/+75
|
* Retrieve XMP tag values (without python type conversion atm).Olivier Tilloy2009-01-121-2/+30
|
* Updated headers' dates.Olivier Tilloy2009-01-091-1/+1
|
* Module attributes for the versions of exiv2 and pyexiv2.Olivier Tilloy2009-01-091-0/+6
|
* Value(s) of subclasses of MetadataTag are converted to Python types.Olivier Tilloy2008-06-121-61/+63
|
* IptcTag class, python wrapper for an IPTC tag.Olivier Tilloy2008-06-111-8/+40
|
* Retrieve more data for an IPTC tag (low-level).Olivier Tilloy2008-06-111-0/+3
|
* Replace all tabs by spaces in the code.Olivier Tilloy2008-04-191-670/+716
| | | | Add a MetadataTag class to the python module.
* Updated the copyright notice in the source headers.Olivier Tilloy2008-02-091-1/+1
|
* Fixed bug #183332 (Cached metadata is not converted to its correct type): ↵Olivier Tilloy2008-02-061-6/+8
| | | | the new value is now converted before being written to the internal metadata cache.
* Implemented the equality comparison operator for class pyexiv2.Rational, ↵Olivier Tilloy2008-01-301-0/+13
| | | | will be useful for unit testing.
* Factorized the code that converts a tag value to the matching Python type.Olivier Tilloy2008-01-271-55/+56
|
* Fixed a bug that prevented from setting an EXIF tag with multiple values.Olivier Tilloy2008-01-271-2/+2
|
* Added a rational number type (class pyexiv2.Rational) to handle rational ↵Olivier Tilloy2008-01-271-17/+51
| | | | values stored in EXIF tags.
* Added method copyMetadataTo(Image) to class Image to copy all EXIF and IPTC ↵Olivier Tilloy2008-01-271-3/+26
| | | | metadata and the comment from one image to another one. Based on a patch submitted by Vince (vinces1979@gmail.com).
* Added private flags to avoid caching twice the EXIF/IPTC metadata. Based on ↵Olivier Tilloy2008-01-271-4/+10
| | | | a patch submitted by Vince (vinces1979@gmail.com).
* Fixed bug #183618 (Exif.GPSInfo.{GPSLongitude,Latitude} are not decoded), ↵Olivier Tilloy2008-01-271-20/+26
| | | | reverts the behaviour implemented with revision 70 to fix bug #146323 (Multi value fields are broken (Exif.Image.Orientation)): multiple value fields for EXIF tags are now fully decoded and returned as a tuple of values.
* Fixed bug #175070 (Deleting a tag not previously accessed raises a KeyError ↵Olivier Tilloy2008-01-201-6/+10
| | | | exception): when deleting a tag, the existence in the internal dictionary's keys is tested first.
* Fixed bug #173387 (Error reading Exif.Photo.UserComment): the value of tag ↵Olivier Tilloy2008-01-201-4/+8
| | | | "Exif.Photo.UserComment" (and other malformed tags of type Undefined) is now returned directly as a human-readable string.
* *Really* fixed bug #146313 (passing the filename to the Image constructor as ↵Olivier Tilloy2008-01-181-1/+3
| | | | unicode fails): if filename is passed as unicode, it is converted to a regular string.
* Implemented feature request tracked by bug #147534 (Provide access to ↵Olivier Tilloy2007-10-041-0/+17
| | | | interpreted data): added method interpretedExifValue(key) to class Image that returns the interpreted value of an EXIF tag as displayed by the exiv2 command-line tool.
* Fixed bug #146323 (Multi value fields are broken): when a EXIF tag value is ↵Olivier Tilloy2007-10-031-2/+5
| | | | not well formed, containing several short values separated by spaces (e.g. "2 3 4 5"), keep only the first of these values.
* Fixed bug #146313 (passing the filename to the Image constructor as unicode ↵Olivier Tilloy2007-09-281-1/+1
| | | | fails): if filename is passed as unicode, it is converted to a regular string.
* When setting a datetime or time tag value, truncate the unused information ↵Olivier Tilloy2007-09-161-0/+16
| | | | (microseconds).
* Updated documentation.Olivier Tilloy2007-09-101-7/+1
|
* Updated the docstring documentation of module pyexiv2.Olivier Tilloy2007-08-271-15/+75
|
* Changed the type of exception raised when trying to get a value ↵Olivier Tilloy2007-03-301-5/+6
| | | | corresponding to an invalid key (TypeError, to comply with http://docs.python.org/ref/sequence-types.html).
* Added methods cacheAllExifTags() and cacheAllIptcTags() that read and cache ↵Olivier Tilloy2007-03-291-0/+8
| | | | | | all the tag values (to be called in a separate thread for applications that need to access all the tags anyway, will speed up subsequent access). Note: on my machine, tests do not show any obvious performance improvement as reading and converting a tag value to a Python type seems instantaneous anyway.
* Getters and setters for EXIF and IPTC tags are now private (but beware! ↵Olivier Tilloy2007-03-291-22/+24
| | | | Python's concept of privacy does not totally forbid access to those members, it just makes them less straightforward), from the client's point of view, metadata should always be accessed using operator [].
* Internal accessor __setitem__ now handles tuples to be consistent with ↵Olivier Tilloy2007-03-271-8/+13
| | | | __getitem__ when dealing with repeatable IPTC tags (but passing it a list of values will also work, the list being internally converted into a tuple).
* Internal accessor __getitem__ now returns a tuple (immutable) when ↵Olivier Tilloy2007-03-271-0/+2
| | | | | | requesting the values of a repeatable IPTC tag. Updated the todo list.
* Added a __delitem__(key) method to class Image in order to allow the use of ↵Olivier Tilloy2007-03-181-2/+25
| | | | the dictionary metaphor for write access to metadata tags.
* Added a __setitem__(key, value) method to class Image in order to allow the ↵Olivier Tilloy2007-03-181-0/+54
| | | | | | use of the dictionary metaphor for write access to metadata tags. TODO: define the corresponding __delitem__(key) method for completeness.
* Added a __getitem__(key) method to class Image in order to allow the use of ↵Olivier Tilloy2007-03-151-0/+26
| | | | | | the dictionary metaphor to access metadata tags. TODO: define the corresponding __setitem__(key, value) and __delitem__(key) methods for completeness.
* The python part of the binding now correctly handles the possibility for an ↵Olivier Tilloy2007-03-131-8/+32
| | | | IPTC tag to be repeatable.
* Added a recognized format for string to datetime conversion.Olivier Tilloy2007-03-041-1/+1
|
* Complete switch to C++/Python exceptions: methods do not return empty ↵Olivier Tilloy2007-01-201-6/+0
| | | | strings or tuples anymore, they throw an exception instead.
* Added a fixme in the python source.Olivier Tilloy2007-01-201-2/+2
| | | | Updated the todo list.
* Times are now correctly handled by the methods Image::getIptcTagValue(...) ↵Olivier Tilloy2007-01-181-15/+6
| | | | and Image::setIptcTagValue(): they take into account a potential offset from UTC in an elegant manner (using the previously defined class FixedOffset).