33#include "exiv2lib_export.h"
83 void readMetadata()
override;
84 void writeMetadata()
override;
89 void setIptcData(
const IptcData& iptcData)
override;
94 std::string mimeType()
const override;
95 int pixelWidth()
const override;
96 int pixelHeight()
const override;
129 static void decode(
CrwImage* pCrwImage,
const byte* pData, uint32_t size);
An interface for simple binary IO.
Definition: basicio.hpp:55
std::unique_ptr< BasicIo > UniquePtr
BasicIo auto_ptr type.
Definition: basicio.hpp:58
Class to access raw Canon CRW images. Only Exif metadata and a comment are supported....
Definition: crwimage.hpp:59
CrwImage(const CrwImage &rhs)=delete
Copy constructor.
CrwImage & operator=(const CrwImage &rhs)=delete
Assignment operator.
Definition: crwimage.hpp:112
Abstract base class defining the interface for an image. This is the top-level interface to the Exiv2...
Definition: image.hpp:78
std::unique_ptr< Image > UniquePtr
Image auto_ptr type.
Definition: image.hpp:81
A container for IPTC data. This is a top-level class of the Exiv2 library.
Definition: iptc.hpp:169
const int crw
CRW image type (see class CrwImage)
Definition: crwimage.hpp:52
Provides classes and functions to encode and decode Exif and Iptc data. The libexiv2 API consists of ...
Definition: basicio.hpp:43
std::vector< byte > Blob
Container for binary data.
Definition: types.hpp:132
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:186
EXIV2API bool isCrwType(BasicIo &iIo, bool advance)
Check if the file iIo is a CRW image.
Definition: crwimage.cpp:195