#include <exif.hpp>
Inheritance diagram for Exiv2::JpegThumbnail:
Public Types | |
typedef std::auto_ptr< JpegThumbnail > | AutoPtr |
Shortcut for a JpegThumbnail auto pointer. | |
Public Member Functions | |
Manipulators | |
JpegThumbnail & | operator= (const JpegThumbnail &rhs) |
Assignment operator. | |
Accessors | |
int | setDataArea (ExifData &exifData, Ifd *pIfd1, const byte *buf, long len) const |
Set the image data as data area of the appropriate Exif metadatum. Read the thumbnail image data from data buffer buf. Return 0 if successful. | |
DataBuf | copy (const ExifData &exifData) const |
Return the thumbnail image in a DataBuf. The caller owns the data buffer and DataBuf ensures that it will be deleted. | |
const char * | format () const |
Return a short string for the format of the thumbnail ("TIFF", "JPEG"). | |
const char * | extension () const |
Return the file extension for the format of the thumbnail (".tif", ".jpg"). |
|
Set the image data as data area of the appropriate Exif metadatum. Read the thumbnail image data from data buffer buf. Return 0 if successful.
Implements Exiv2::Thumbnail. |