7 #include "exiv2lib_export.h"
62 [[nodiscard]]
DataBuf copy()
const;
66 [[nodiscard]]
const byte* pData()
const;
70 [[nodiscard]] uint32_t size()
const;
81 [[nodiscard]]
size_t writeFile(
const std::string& path)
const;
86 [[nodiscard]] std::string
mimeType()
const;
91 [[nodiscard]] std::string extension()
const;
95 [[nodiscard]]
size_t width()
const;
99 [[nodiscard]]
size_t height()
const;
146 #endif // #ifndef PREVIEW_HPP_
Class for extracting preview images from image metadata.
Definition: preview.hpp:118
Preview image properties.
Definition: preview.hpp:23
uint8_t byte
1 byte unsigned integer type.
Definition: types.hpp:26
Abstract base class defining the interface for an image. This is the top-level interface to the Exiv2...
Definition: image.hpp:50
Utility class containing a character array. All it does is to take care of memory allocation and dele...
Definition: types.hpp:124
int PreviewId
Type of preview image.
Definition: preview.hpp:18
std::vector< PreviewProperties > PreviewPropertiesList
Container type to hold all preview images metadata.
Definition: preview.hpp:33
std::string mimeType_
Preview image mime type.
Definition: preview.hpp:24
List of TIFF compression to MIME type mappings.
Definition: tiffimage.cpp:47
std::string extension_
Preview image extension.
Definition: preview.hpp:25
Class that holds preview image properties and data buffer.
Definition: preview.hpp:38
EXIV2API size_t writeFile(const DataBuf &buf, const std::string &path)
Write DataBuf buf to file path.
Definition: basicio.cpp:1746
Class CrwImage to access Canon CRW images. References: The Canon RAW (CRW) File Format by Phil Harv...
Definition: asfvideo.hpp:15