diff options
Diffstat (limited to 'src/libpyexiv2.hpp')
-rw-r--r-- | src/libpyexiv2.hpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/libpyexiv2.hpp b/src/libpyexiv2.hpp index 91956cc..217da50 100644 --- a/src/libpyexiv2.hpp +++ b/src/libpyexiv2.hpp @@ -23,6 +23,7 @@ Author(s): Olivier Tilloy <olivier@tilloy.net> History: 28-Dec-06, Olivier Tilloy: created 30-Dec-06, Olivier Tilloy: added IPTC-related methods + 03-Jan-07, Olivier Tilloy: added thumbnail-related methods */ // ***************************************************************************** @@ -109,6 +110,15 @@ namespace LibPyExiv2 // Returns true if successful, false otherwise. bool setThumbnailData(std::string data); + // Deletes the thumbnail embedded in the image. + void deleteThumbnail(); + + // Writes the thumbnail to an image file. + // A filename extension is appended to the given path according to the + // image type of the thumbnail, so it should not include an extension. + // Returns true if successful, false otherwise. + bool dumpThumbnailToFile(const std::string path); + private: std::string _filename; Exiv2::Image::AutoPtr _image; |