12#include "exiv2lib_export.h"
51 void readMetadata()
override;
52 void writeMetadata()
override;
64 void setComment(
const std::string&)
override;
69 [[nodiscard]] std::string
mimeType()
const override;
70 [[nodiscard]] uint32_t pixelWidth()
const override;
71 [[nodiscard]] uint32_t pixelHeight()
const override;
An interface for simple binary IO.
Definition basicio.hpp:35
std::unique_ptr< BasicIo > UniquePtr
BasicIo auto_ptr type.
Definition basicio.hpp:38
Class to access raw Canon CR2 images. Exif metadata is supported directly, IPTC is read from the Exif...
Definition cr2image.hpp:27
Stateless parser class for data in CR2 format. Images use this class to decode and encode CR2 data....
Definition cr2image.hpp:80
A container for Exif data. This is a top-level class of the Exiv2 library. The container holds Exifda...
Definition exif.hpp:379
Abstract base class defining the interface for an image. This is the top-level interface to the Exiv2...
Definition image.hpp:50
std::unique_ptr< Image > UniquePtr
Image auto_ptr type.
Definition image.hpp:53
A container for IPTC data. This is a top-level class of the Exiv2 library.
Definition iptc.hpp:153
A container for XMP data. This is a top-level class of the Exiv2 library.
Definition xmp_exiv2.hpp:138
Class CrwImage to access Canon CRW images. References: The Canon RAW (CRW) File Format by Phil Harv...
Definition asfvideo.hpp:15
PrintStructureOption
Options for printStructure.
Definition image.hpp:38
EXIV2API Image::UniquePtr newCr2Instance(BasicIo::UniquePtr io, bool create)
Create a new Cr2Image instance and return an auto-pointer to it. Caller owns the returned object and ...
Definition cr2image.cpp:129
ByteOrder
Type to express the byte order (little or big endian)
Definition types.hpp:34
WriteMethod
Type to indicate write method used by TIFF parsers.
Definition types.hpp:41
EXIV2API bool isCr2Type(BasicIo &iIo, bool advance)
Check if the file iIo is a CR2 image.
Definition cr2image.cpp:137
List of TIFF compression to MIME type mappings.
Definition tiffimage.cpp:47