Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Implemented feature request tracked by bug #149212 (Add access to tag ↵ | Olivier Tilloy | 2007-10-10 | 3 | -0/+24 |
| | | | | labels): added method tagDetails(key) to class Image that returns a tuple containg the tag name and its description. | ||||
* | Implemented feature request tracked by bug #147534 (Provide access to ↵ | Olivier Tilloy | 2007-10-04 | 1 | -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 Tilloy | 2007-10-03 | 1 | -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 Tilloy | 2007-09-28 | 1 | -1/+1 |
| | | | | fails): if filename is passed as unicode, it is converted to a regular string. | ||||
* | Added support for DESTDIR in SConscript for installation. This will ease the ↵ | Olivier Tilloy | 2007-09-27 | 1 | -10/+19 |
| | | | | creation of a Debian package (feature request by Michal Cihar, see http://www.sirena.org.uk/log/?p=58) | ||||
* | Explicitely returning the tag types as C++ strings. | Olivier Tilloy | 2007-09-18 | 1 | -6/+6 |
| | |||||
* | Fixed a bug reported by Damon Lynch: due to interface changes for exceptions ↵ | Olivier Tilloy | 2007-09-16 | 1 | -1/+7 |
| | | | | management in libexiv2 0.13, libpyexiv2 would not compile against versions >= 0.13. | ||||
* | When setting a datetime or time tag value, truncate the unused information ↵ | Olivier Tilloy | 2007-09-16 | 1 | -0/+16 |
| | | | | (microseconds). | ||||
* | Updated documentation. | Olivier Tilloy | 2007-09-10 | 1 | -7/+1 |
| | |||||
* | Updated the docstring documentation of module pyexiv2. | Olivier Tilloy | 2007-08-27 | 1 | -15/+75 |
| | |||||
* | Internally renamed methods getAvailableExifTags() and getAvailableIptcTags() ↵ | Olivier Tilloy | 2007-03-30 | 3 | -8/+12 |
| | | | | | | to exifKeys() and iptcKeys(). Changed the type of exception raised when trying to get a value corresponding to an invalid IPTC key (TypeError, to comply with http://docs.python.org/ref/sequence-types.html). | ||||
* | Removed methods isExigTagSet() and isIptcTagSet() as they are now useless ↵ | Olivier Tilloy | 2007-03-30 | 3 | -33/+0 |
| | | | | thanks to exception management. | ||||
* | Changed the type of exception raised when trying to get a value ↵ | Olivier Tilloy | 2007-03-30 | 2 | -6/+7 |
| | | | | 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 Tilloy | 2007-03-29 | 1 | -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. | ||||
* | Changed the name of methods getAvailableExifTags() and ↵ | Olivier Tilloy | 2007-03-29 | 1 | -2/+2 |
| | | | | getAvailableIptcTags() to exifKeys() and iptcKeys(). | ||||
* | Getters and setters for EXIF and IPTC tags are now private (but beware! ↵ | Olivier Tilloy | 2007-03-29 | 3 | -30/+34 |
| | | | | 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 Tilloy | 2007-03-27 | 1 | -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 Tilloy | 2007-03-27 | 1 | -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 Tilloy | 2007-03-18 | 1 | -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 Tilloy | 2007-03-18 | 1 | -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 Tilloy | 2007-03-15 | 1 | -0/+26 |
| | | | | | | the dictionary metaphor to access metadata tags. TODO: define the corresponding __setitem__(key, value) and __delitem__(key) methods for completeness. | ||||
* | Changed the Python exception type an Exiv2::Error(KEY_NOT_FOUND, ...) is ↵ | Olivier Tilloy | 2007-03-15 | 1 | -1/+1 |
| | | | | converted to (now a KeyError) for consistency with Python conventions. | ||||
* | The python part of the binding now correctly handles the possibility for an ↵ | Olivier Tilloy | 2007-03-13 | 3 | -10/+34 |
| | | | | IPTC tag to be repeatable. | ||||
* | Modified method Image::deleteIptcTag(...) to take into account the ↵ | Olivier Tilloy | 2007-03-13 | 2 | -9/+20 |
| | | | | possibility for an IPTC tag to be repeatable. | ||||
* | Modified methods Image::getIptcTag(...) and Image::setIptcTag(...) to take ↵ | Olivier Tilloy | 2007-03-12 | 2 | -23/+51 |
| | | | | into account the possibility for an IPTC tag to be repeatable. | ||||
* | Modified the behaviour of Image::getAvailableIptcTags(): it now returns a ↵ | Olivier Tilloy | 2007-03-08 | 2 | -4/+6 |
| | | | | list without duplicates. This is a prerequisite to the implementation of an Iptc handler that can access all the instances of a given repeatable key. | ||||
* | Added a recognized format for string to datetime conversion. | Olivier Tilloy | 2007-03-04 | 1 | -1/+1 |
| | |||||
* | Updated the C++ class' methods comments. | Olivier Tilloy | 2007-01-20 | 1 | -24/+29 |
| | |||||
* | Added two methods to class Image, isExifTagSet() and isIptcTagSet(), to ↵ | Olivier Tilloy | 2007-01-20 | 3 | -0/+32 |
| | | | | determine whether a tag is set. | ||||
* | Complete switch to C++/Python exceptions: methods do not return empty ↵ | Olivier Tilloy | 2007-01-20 | 3 | -77/+48 |
| | | | | strings or tuples anymore, they throw an exception instead. | ||||
* | Defined a new custom IO exception for when trying to access the metadata ↵ | Olivier Tilloy | 2007-01-20 | 1 | -60/+24 |
| | | | | before the method readMetadata() has been called. | ||||
* | Basic handling of Exiv2 exceptions which are now converted to corresponding ↵ | Olivier Tilloy | 2007-01-20 | 3 | -204/+162 |
| | | | | Python exceptions. | ||||
* | Added a fixme in the python source. | Olivier Tilloy | 2007-01-20 | 1 | -2/+2 |
| | | | | Updated the todo list. | ||||
* | Times are now correctly handled by the methods Image::getIptcTagValue(...) ↵ | Olivier Tilloy | 2007-01-18 | 1 | -15/+6 |
| | | | | and Image::setIptcTagValue(): they take into account a potential offset from UTC in an elegant manner (using the previously defined class FixedOffset). | ||||
* | Removed useless history in file headers (what use is it when using a VCS ↵ | Olivier Tilloy | 2007-01-18 | 6 | -16/+0 |
| | | | | anyway?). | ||||
* | Added a concrete subclass of datetime.tzinfo, FixedOffset, to represent ↵ | Olivier Tilloy | 2007-01-18 | 1 | -0/+78 |
| | | | | offsets from UTC for local times (will be used in the time representations of IPTC tag values). | ||||
* | Added method setIptcTagValue() to class Image in the higher-level binding ↵ | Olivier Tilloy | 2007-01-17 | 1 | -1/+36 |
| | | | | (still not complete). | ||||
* | Utility functions StringToDate(string) and StringToTime(string) now ↵ | Olivier Tilloy | 2007-01-17 | 1 | -70/+52 |
| | | | | correctly handle the IPTC date and time formats as returned by exiv2. | ||||
* | Implemented utility function StringToTime(string) (could be improved but ↵ | Olivier Tilloy | 2007-01-16 | 1 | -3/+47 |
| | | | | | | should work fine). See the first item of the todo list about exiv2's format for IPTC dates and times. | ||||
* | Moved the todo list out of the source directory where it did not belong. | Olivier Tilloy | 2007-01-16 | 1 | -5/+0 |
| | |||||
* | Updated the todo list. | Olivier Tilloy | 2007-01-10 | 1 | -1/+1 |
| | | | | Minor changes in the README file. | ||||
* | Added utility functions: StringToDate(string) and StringToTime(string) (this ↵ | Olivier Tilloy | 2007-01-10 | 1 | -5/+88 |
| | | | | | | one needs implementing). Added method getIptcTagValue() to class Image in the higher-level binding: uses python native types and classes to type the values of IPTC tags. | ||||
* | Considerably improved the ascii to datetime conversion for EXIF tags. | Olivier Tilloy | 2007-01-08 | 2 | -8/+36 |
| | |||||
* | Updated the todo list. | Olivier Tilloy | 2007-01-08 | 6 | -7/+5 |
| | | | | Fixed a small mistake in the GPL header of several source files. | ||||
* | Added a very simple python script that demonstrates how to use pygtk to ↵ | Olivier Tilloy | 2007-01-07 | 1 | -0/+72 |
| | | | | display the thumbnail data extracted from a picture using the method Image.getThumbnailData(). | ||||
* | Added a very simple python script that demonstrates how to use pyqt to ↵ | Olivier Tilloy | 2007-01-07 | 1 | -0/+68 |
| | | | | display the thumbnail data extracted from a picture using the method Image.getThumbnailData(). | ||||
* | Added method Image::setThumbnailFromJpegFile(...) that allows setting the ↵ | Olivier Tilloy | 2007-01-07 | 4 | -1/+30 |
| | | | | image thumbnail from a jpeg file. | ||||
* | Optimized the memory allocation when extracting the thumbnail data from an ↵ | Olivier Tilloy | 2007-01-04 | 1 | -2/+4 |
| | | | | image: the returned string containing the actual data is now first allocated and then filled. | ||||
* | Added and implemented Image::deleteThumbnail() and Image::dumpThumbnailToFile(). | Olivier Tilloy | 2007-01-03 | 3 | -15/+69 |
| | |||||
* | Implemented Image::setThumbnailData() that sets the thumbnail embedded in an ↵ | Olivier Tilloy | 2007-01-03 | 2 | -8/+16 |
| | | | | image from raw jpeg data. |