aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/pyexiv2.py24
-rw-r--r--todo1
2 files changed, 1 insertions, 24 deletions
diff --git a/src/pyexiv2.py b/src/pyexiv2.py
index 1225069..42fde3e 100644
--- a/src/pyexiv2.py
+++ b/src/pyexiv2.py
@@ -1488,27 +1488,3 @@ class ImageMetadata(object):
except AttributeError:
raise KeyError(key)
-
-class Image(libexiv2python.Image):
-
- """
- DEPRECATED. DO NOT USE.
- """
-
- def copyMetadataTo(self, destImage):
- # TODO: add optional parameters exif=True, iptc=True, xmp=True, so that
- # one can choose to copy only part of the metadata.
- """
- Duplicate all the tags and the comment from this image to another one.
-
- Read all the values of the EXIF and IPTC tags and the comment and write
- them back to the new image.
-
- Keyword arguments:
- destImage -- the destination image to write the copied metadata back to
- """
- for key in self.exifKeys():
- destImage[key] = self[key]
- for key in self.iptcKeys():
- destImage[key] = self[key]
- destImage.setComment(self.getComment())
diff --git a/todo b/todo
index 89fb3de..c52adf7 100644
--- a/todo
+++ b/todo
@@ -1,5 +1,6 @@
todo list
+- Reimplement copyMetadataTo in C++
- Unit test the C++ wrapper (in python, if possible)
- Use logging to log, among other things, decoding and type conversion errors
- The constructor of the Image class should accept a buffered file