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