aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/pyexiv2.py8
-rw-r--r--todo1
2 files changed, 8 insertions, 1 deletions
diff --git a/src/pyexiv2.py b/src/pyexiv2.py
index 88ac9b3..02af79e 100644
--- a/src/pyexiv2.py
+++ b/src/pyexiv2.py
@@ -559,6 +559,14 @@ class Image(libpyexiv2.Image):
else:
raise IndexError("'" + key + "': invalid tag identifier")
+ def cacheAllExifTags(self):
+ for key in self.exifKeys():
+ self[key]
+
+ def cacheAllIptcTags(self):
+ for key in self.iptcKeys():
+ self[key]
+
def _test():
print 'testing library pyexiv2...'
# TODO: various tests
diff --git a/todo b/todo
index 1dd119c..b1590f0 100644
--- a/todo
+++ b/todo
@@ -1,6 +1,5 @@
todo list
-- 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