diff options
author | Olivier Tilloy <olivier@tilloy.net> | 2010-01-22 21:00:13 +0100 |
---|---|---|
committer | Olivier Tilloy <olivier@tilloy.net> | 2010-01-22 21:00:13 +0100 |
commit | 24b9261f486f68db6166a28f07af510a6830d17b (patch) | |
tree | 2458966c5f4ee43c44705a7a0783ecd13ec7b80c /src/exiv2wrapper.hpp | |
parent | bdd8941477e703ccd0240c68767c972f7d81afbe (diff) | |
download | pyexiv2-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.hpp | 3 |
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; |