diff options
author | Olivier Tilloy <olivier@tilloy.net> | 2010-03-17 00:12:41 +0100 |
---|---|---|
committer | Olivier Tilloy <olivier@tilloy.net> | 2010-03-17 00:12:41 +0100 |
commit | 9843496fb95d5d142632a3239af9d322e166f3e9 (patch) | |
tree | 6832336af4f6ea10e2d80713fbe5dbc0ffdcd710 /src/exiv2wrapper.hpp | |
parent | cf80099581568c17a49160b594ee17e690e64d5c (diff) | |
download | pyexiv2-9843496fb95d5d142632a3239af9d322e166f3e9.tar.gz |
New data_buffer() method to get the image buffer.
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 c0fb46c..5443f2b 100644 --- a/src/exiv2wrapper.hpp +++ b/src/exiv2wrapper.hpp @@ -225,6 +225,9 @@ public: // Copy the metadata to another image. void copyMetadata(Image& other, bool exif=true, bool iptc=true, bool xmp=true) const; + // Return the image data buffer. + std::string getDataBuffer() const; + private: std::string _filename; Exiv2::Image::AutoPtr _image; |