aboutsummaryrefslogtreecommitdiffstats
path: root/src/exiv2wrapper.hpp
diff options
context:
space:
mode:
authorOlivier Tilloy <olivier@tilloy.net>2010-01-22 21:00:13 +0100
committerOlivier Tilloy <olivier@tilloy.net>2010-01-22 21:00:13 +0100
commit24b9261f486f68db6166a28f07af510a6830d17b (patch)
tree2458966c5f4ee43c44705a7a0783ecd13ec7b80c /src/exiv2wrapper.hpp
parentbdd8941477e703ccd0240c68767c972f7d81afbe (diff)
downloadpyexiv2-24b9261f486f68db6166a28f07af510a6830d17b.tar.gz
Copy metadata to another image.
From an original patch by Ilpo Nyyssönen (http://iny.iki.fi/).
Diffstat (limited to 'src/exiv2wrapper.hpp')
-rw-r--r--src/exiv2wrapper.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/exiv2wrapper.hpp b/src/exiv2wrapper.hpp
index f6c305a..f87d032 100644
--- a/src/exiv2wrapper.hpp
+++ b/src/exiv2wrapper.hpp
@@ -221,6 +221,9 @@ public:
// Read access to the thumbnail embedded in the image.
boost::python::list previews();
+ // Copy the metadata to another image.
+ void copyMetadata(Image& other, bool exif=true, bool iptc=true, bool xmp=true) const;
+
private:
std::string _filename;
Exiv2::Image::AutoPtr _image;