31#include "exiv2lib_export.h"
53#ifdef EXV_UNICODE_PATH
55 std::wstring wextension_;
100 const byte* pData()
const;
104 uint32_t size()
const;
115 long writeFile(
const std::string& path)
const;
116#ifdef EXV_UNICODE_PATH
121 long writeFile(
const std::wstring& wpath)
const;
127 std::string mimeType()
const;
132 std::string extension()
const;
133#ifdef EXV_UNICODE_PATH
139 std::wstring wextension()
const;
144 uint32_t width()
const;
148 uint32_t height()
const;
Utility class containing a character array. All it does is to take care of memory allocation and dele...
Definition types.hpp:204
Abstract base class defining the interface for an image. This is the top-level interface to the Exiv2...
Definition image.hpp:81
Class that holds preview image properties and data buffer.
Definition preview.hpp:73
Class for extracting preview images from image metadata.
Definition preview.hpp:168
Provides classes and functions to encode and decode Exif and Iptc data. The libexiv2 API consists of ...
Definition asfvideo.hpp:36
EXIV2API long writeFile(const DataBuf &buf, const std::string &path)
Write DataBuf buf to file path.
Definition basicio.cpp:2701
int PreviewId
Type of preview image.
Definition preview.hpp:43
std::vector< PreviewProperties > PreviewPropertiesList
Container type to hold all preview images metadata.
Definition preview.hpp:68
Preview image properties.
Definition preview.hpp:48
uint32_t size_
Preview image size in bytes.
Definition preview.hpp:58
std::string extension_
Preview image extension.
Definition preview.hpp:52
uint32_t height_
Preview image height in pixels or 0 for unknown height.
Definition preview.hpp:62
uint32_t width_
Preview image width in pixels or 0 for unknown width.
Definition preview.hpp:60
PreviewId id_
Identifies type of preview image.
Definition preview.hpp:64
std::string mimeType_
Preview image mime type.
Definition preview.hpp:50