diff options
author | Olivier Tilloy <olivier@tilloy.net> | 2007-01-03 23:01:30 +0100 |
---|---|---|
committer | Olivier Tilloy <olivier@tilloy.net> | 2007-01-03 23:01:30 +0100 |
commit | 35bf3a8dcc8812a9956108f9b401f478cadc60f7 (patch) | |
tree | e731a603b2d2e7e47a54c6ddd1ae12732c5d3d61 /src/libpyexiv2.hpp | |
parent | 3eb675871bec989b3027622f6d615140daf76d41 (diff) | |
download | pyexiv2-35bf3a8dcc8812a9956108f9b401f478cadc60f7.tar.gz |
Implemented Image::setThumbnailData() that sets the thumbnail embedded in an image from raw jpeg data.
Diffstat (limited to 'src/libpyexiv2.hpp')
-rw-r--r-- | src/libpyexiv2.hpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/libpyexiv2.hpp b/src/libpyexiv2.hpp index 61f46b4..91956cc 100644 --- a/src/libpyexiv2.hpp +++ b/src/libpyexiv2.hpp @@ -104,11 +104,10 @@ namespace LibPyExiv2 // "JPEG") and the thumbnail raw data as a string buffer. boost::python::tuple getThumbnailData(); - // Sets the thumbnail of the image. The first element of the tuple is - // the format of the thumbnail ("TIFF" or "JPEG") and the second element - // is the thumbnail raw data as a string buffer. + // Sets the thumbnail of the image. The parameter is the thumbnail raw + // jpeg data as a string buffer. // Returns true if successful, false otherwise. - bool setThumbnailData(boost::python::tuple data); + bool setThumbnailData(std::string data); private: std::string _filename; |