16 #include "exiv2lib_export.h"
60 void readMetadata()
override;
61 void writeMetadata()
override;
66 void setIptcData(
const IptcData& iptcData)
override;
71 [[nodiscard]] std::string
mimeType()
const override;
72 [[nodiscard]] uint32_t pixelWidth()
const override;
73 [[nodiscard]] uint32_t pixelHeight()
const override;
97 static void decode(
CrwImage* pCrwImage,
const byte* pData,
size_t size);
112 static void encode(
Blob& blob,
const byte* pData,
size_t size,
const CrwImage* pCrwImage);
133 #endif // #ifndef CRWIMAGE_HPP_
std::unique_ptr< Image > UniquePtr
Image auto_ptr type.
Definition: image.hpp:53
An interface for simple binary IO.
Definition: basicio.hpp:35
EXIV2API bool isCrwType(BasicIo &iIo, bool advance)
Check if the file iIo is a CRW image.
Definition: crwimage.cpp:139
EXIV2API Image::UniquePtr newCrwInstance(BasicIo::UniquePtr io, bool create)
Create a new CrwImage instance and return an auto-pointer to it. Caller owns the returned object and ...
Definition: crwimage.cpp:131
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
A container for IPTC data. This is a top-level class of the Exiv2 library.
Definition: iptc.hpp:153
List of TIFF compression to MIME type mappings.
Definition: tiffimage.cpp:47
Class to access raw Canon CRW images. Only Exif metadata and a comment are supported. CRW format does not contain IPTC metadata.
Definition: crwimage.hpp:36
Definition: crwimage.hpp:80
std::unique_ptr< BasicIo > UniquePtr
BasicIo auto_ptr type.
Definition: basicio.hpp:38
Class CrwImage to access Canon CRW images. References: The Canon RAW (CRW) File Format by Phil Harv...
Definition: asfvideo.hpp:15
std::vector< byte > Blob
Container for binary data.
Definition: types.hpp:102