aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Instantiate the exiv2_version tuple inside the boost module declaration.Olivier Tilloy2012-09-211-7/+5
| | | | This fixes a segmentation fault when exiting the python interpreter.
* Check typeName for nullness.Olivier Tilloy2012-04-221-2/+10
|
* Fix undefined_to_string to accept empty strings.Olivier Tilloy2012-03-151-1/+3
|
* Simplify and optimize ExifTag::setParentImage(…) and ↵Olivier Tilloy2012-01-161-39/+8
| | | | | | | | | XmpTag::setParentImage(…) by re-setting the value of the datum to a copy of the existing datum’s value. This also fixes setting the value of an XMP tag of type array to [''] (this issue was uncovered by Benjamin Henne, see http://dev.exiv2.org/boards/3/topics/1039 for details). Unfortunately this can’t easily be transposed to IptcTag::setParentImage(…) due to implementation details.
* Bumped version number to 0.3.2.Olivier Tilloy2011-10-241-1/+1
|
* Substitute the use of timedelta.total_seconds() with its actual implementation.Olivier Tilloy2011-10-241-1/+7
| | | This method was introduced in Python 2.7.
* Bumped version number to 0.3.1.Olivier Tilloy2011-10-231-2/+2
|
* Replicate the fix for type extraction when compiling against libexiv2 < 0.21.Olivier Tilloy2011-08-201-0/+7
|
* Special case for the 'Comment' type.Olivier Tilloy2011-08-201-5/+5
|
* Correctly extract the type of an EXIF tag when read from an image.Olivier Tilloy2011-08-201-2/+9
|
* Be flexible and allow setting the value of a LangAlt tag to a string,Olivier Tilloy2011-08-171-0/+2
| | | in which case it is automatically converted to {'x-default': value}.
* Check the type before setting a tag’s value and raise a TypeError if it ↵Olivier Tilloy2011-08-171-0/+4
| | | | doesn’t match.
* Updated copyright header of the file modified in the previous revision.Olivier Tilloy2011-08-171-1/+1
|
* White-list accepted tag families: 'exif', 'iptc', 'xmp'.Olivier Tilloy2011-08-171-6/+6
| | | Any other family will raise a KeyError.
* Custom DateTimeFormatter helper to convert date/time objects to strings ↵Olivier Tilloy2011-08-124-48/+171
| | | | conforming to the EXIF/IPTC/XMP formats.
* Fix timezone formatting when writing XMP tags.Olivier Tilloy2011-08-021-4/+9
| | | This introduces an optional dependency on python-tz in unit tests.
* Fix timezone formatting when writing IPTC tags.Olivier Tilloy2011-08-021-3/+3
| | | This introduces an optional dependency on python-tz in unit tests.
* Do not try (and fail!) to encode non-unicode filenames.Olivier Tilloy2011-08-011-1/+1
| | | More complete unit tests.
* Always write extracted previews as binary files.Olivier Tilloy2011-07-301-1/+1
| | | On windows this is necessary, otherwise the data written on disk is corrupted and results in bogus image files.
* Added missing whitespaces after commas.Olivier Tilloy2011-07-231-1/+1
|
* Simplified the docstring.Olivier Tilloy2011-07-231-4/+1
|
* Added a __repr__ method to the Rational class.Hobson Lane2011-07-231-0/+11
|
* Document make_fraction and recommend its use instead of directly ↵Olivier Tilloy2011-05-241-0/+3
| | | | instantiating Rational objects.
* Do not fail to parse rationals stored as '0/0'.Olivier Tilloy2011-05-241-10/+40
| | | In the crazy world of EXIF metadata, this means a null fraction, i.e. 0/1.
* Bumped version number to 0.3.0.Olivier Tilloy2010-12-291-1/+1
|
* New convenience function to factorize further the code that handles ↵Olivier Tilloy2010-12-262-15/+20
| | | | fractions: fraction_to_string(...).
* Handle fractions in a transparent manner,Olivier Tilloy2010-12-263-20/+29
| | | using the convenience functions defined in module pyexiv2.utils.
* is_fraction and make_fraction: convenience functions to handle transparentlyOlivier Tilloy2010-12-241-0/+28
| | | the conditional availability of the fractions module in the standard library (Python ≥ 2.6).
* Support pickling XMP tags.Olivier Tilloy2010-12-221-0/+9
|
* Support pickling IPTC tags.Olivier Tilloy2010-12-221-0/+9
|
* Merged the latest changes from the trunk.Olivier Tilloy2010-12-221-4/+9
|\
| * Fix the IPTC Time type to string conversion,Olivier Tilloy2010-12-221-4/+9
| | | | | | | | the string expected by exiv2's TimeValue::read(string) does not respect the IPTC specification ('%H:%M:%S±%H:%M' instead of '%H%M%S±%H%M).
* | Support pickling EXIF tags.Olivier Tilloy2010-12-221-0/+9
|/
* Added an iptc_charset property to the ImageMetadata class,Olivier Tilloy2010-12-204-0/+51
| | | to get, set and delete the (optional) IPTC charset.
* Merged latest changes from trunk.Olivier Tilloy2010-12-178-37/+143
|\
| * Starting from 0.20, exiv2 converts unicode comments to UTF-8.Olivier Tilloy2010-12-161-7/+12
| | | | | | Handle correctly all versions (≥ 0.19).
| * If no charset is defined, try to decode the comment into a utf-8 string.Olivier Tilloy2010-12-151-1/+4
| |
| * When encoding a comment, try to do it in a lossless manner (strict).Olivier Tilloy2010-12-141-2/+2
| |
| * Best effort, do not fail just because the original encoding of the tag ↵Olivier Tilloy2010-12-141-12/+17
| | | | | | | | cannot encode the new value.
| * Try and encode Exif.Photo.UserComment according to its charset if specified.Olivier Tilloy2010-12-141-25/+38
| |
| * Try and decode Exif.Photo.UserComment according to its charset if specified.Olivier Tilloy2010-12-124-7/+51
| |
| * Use isinstance(…) instead of type(…) everywhere, as recommended by ↵Olivier Tilloy2010-12-082-22/+25
| | | | | | | | | | Python’s documentation (http://docs.python.org/library/functions.html#type).
| * Raise an IOError with a relevant error message when trying to access the ↵Olivier Tilloy2010-12-081-5/+11
| | | | | | | | | | metadata of an image that has not been read() yet. Previously, a misleading AttributeError would be raised (this was a regression from the 0.1.x series).
| * Fix build against libexiv2 0.21.Olivier Tilloy2010-12-021-0/+15
| | | | | | This latest release (2010-12-01) changed some public APIs, hence the need for conditional code.
| * Accept Fraction objects for Rational values in XMP tags.Olivier Tilloy2010-11-301-2/+3
| |
| * Accept Fraction objects for Rational and SRational values in EXIF tags.Olivier Tilloy2010-11-301-3/+4
| |
| * Conditional import of fractions.Fraction for partial support if present.Olivier Tilloy2010-11-301-0/+10
| |
* | Functions in the xmp module to register and unregister custom namespaces.Olivier Tilloy2010-11-295-1/+137
|/
* Import ExifThumbnail in the pyexiv2 namespace.Olivier Tilloy2010-11-231-1/+1
|
* Update the cache of EXIF tags after modifying the EXIF thumbnail.Olivier Tilloy2010-11-222-10/+22
|