aboutsummaryrefslogtreecommitdiffstats
path: root/src/libpyexiv2.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libpyexiv2.hpp')
-rw-r--r--src/libpyexiv2.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/libpyexiv2.hpp b/src/libpyexiv2.hpp
index 217da50..a4bb735 100644
--- a/src/libpyexiv2.hpp
+++ b/src/libpyexiv2.hpp
@@ -119,6 +119,11 @@ namespace LibPyExiv2
// Returns true if successful, false otherwise.
bool dumpThumbnailToFile(const std::string path);
+ // Sets the image contained in the jpeg file passed as a parameter as
+ // the thumbnail of the image.
+ // Returns true if successful, false otherwise.
+ bool setThumbnailFromJpegFile(const std::string path);
+
private:
std::string _filename;
Exiv2::Image::AutoPtr _image;