diff options
-rw-r--r-- | src/pyexiv2.py | 2 | ||||
-rw-r--r-- | todo | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/src/pyexiv2.py b/src/pyexiv2.py index ec4a892..b1dd88f 100644 --- a/src/pyexiv2.py +++ b/src/pyexiv2.py @@ -471,6 +471,8 @@ class Image(libpyexiv2.Image): value = self.getIptcTagValue(key) if len(value) == 1: value = value[0] + elif len(value) > 1: + value = tuple(value) self.__iptcTagsDict[key] = value return value else: @@ -2,6 +2,7 @@ todo list - Fix the issue when changing one value inside a list returned by image[key]: the value is changed in the internal dictionnary but no call to setIptcTagValue() is performed -> use tuples instead of lists, tuples are immutables - Disable the get...() and set...() methods (by making them private) -> metadata is accessible only through the dictionnary metaphor +- Write methods cacheAllExifTags() and cacheAllIptcTags() that will read and cache all the tag values (to be used in a separate threads, for applications that need to access all the tags anyway) - Rewrite the exiv2 command-line tool and the test binaries in Python and (Python) scripts to run the same tests that are run to test exiv2 - Rewrite the docstring documentation of the module using epydoc's syntax (http://epydoc.sourceforge.net/manual-fields.html) - Write a complete documentation for the binding and it uses |