24 #include "exiv2lib_export.h" 46 #ifdef EXV_UNICODE_PATH 47 std::wstring wextension_;
93 const byte* pData()
const;
97 uint32_t size()
const;
108 long writeFile(
const std::string& path)
const;
109 #ifdef EXV_UNICODE_PATH 114 long writeFile(
const std::wstring& wpath)
const;
120 std::string mimeType()
const;
125 std::string extension()
const;
126 #ifdef EXV_UNICODE_PATH 132 std::wstring wextension()
const;
137 uint32_t width()
const;
141 uint32_t height()
const;
189 #endif // #ifndef PREVIEW_HPP_ std::vector< PreviewProperties > PreviewPropertiesList
Container type to hold all preview images metadata.
Definition: preview.hpp:61
EXIV2API long writeFile(const DataBuf &buf, const std::string &path)
Write DataBuf buf to file path.
Definition: basicio.cpp:2703
PreviewId id_
Identifies type of preview image.
Definition: preview.hpp:57
Utility class containing a character array. All it does is to take care of memory allocation and dele...
Definition: types.hpp:193
Class for extracting preview images from image metadata.
Definition: preview.hpp:161
Preview image properties.
Definition: preview.hpp:41
uint8_t byte
1 byte unsigned integer type.
Definition: types.hpp:94
Abstract base class defining the interface for an image. This is the top-level interface to the Exiv2...
Definition: image.hpp:78
std::string mimeType_
Preview image mime type.
Definition: preview.hpp:43
int PreviewId
Type of preview image.
Definition: preview.hpp:36
uint32_t width_
Preview image width in pixels or 0 for unknown width.
Definition: preview.hpp:53
std::string extension_
Preview image extension.
Definition: preview.hpp:45
Class that holds preview image properties and data buffer.
Definition: preview.hpp:66
uint32_t height_
Preview image height in pixels or 0 for unknown height.
Definition: preview.hpp:55
Provides classes and functions to encode and decode Exif and Iptc data. The libexiv2 API consists of ...
Definition: asfvideo.hpp:36