#include <exif.hpp>
Inheritance diagram for Exiv2::ExifThumbC:
Public Member Functions | |
Creators | |
ExifThumbC (const ExifData &exifData) | |
Constructor. | |
Accessors | |
DataBuf | copy () const |
Return the thumbnail image in a DataBuf. The caller owns the data buffer and DataBuf ensures that it will be deleted. | |
long | writeFile (const std::string &path) const |
Write the thumbnail image to a file. | |
const char * | mimeType () const |
Return the MIME type of the thumbnail, either "image/tiff" or "image/jpeg" . | |
const char * | extension () const |
Return the file extension for the format of the thumbnail (".tif" or ".jpg"). |
|
Write the thumbnail image to a file. A filename extension is appended to path according to the image type of the thumbnail, so path should not include an extension. The function will overwrite an existing file of the same name.
|