31#include "exiv2lib_export.h"
76 void readMetadata()
override;
77 void writeMetadata()
override;
89 void setComment(
const std::string&
comment)
override;
94 std::string mimeType()
const override;
95 int pixelWidth()
const override;
96 int pixelHeight()
const override;
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 CR2 images. Exif metadata is supported directly, IPTC is read from the Exif...
Definition: cr2image.hpp:52
Cr2Image(const Cr2Image &rhs)=delete
Copy constructor.
Cr2Image & operator=(const Cr2Image &rhs)=delete
Assignment operator.
Stateless parser class for data in CR2 format. Images use this class to decode and encode CR2 data....
Definition: cr2image.hpp:114
A container for Exif data. This is a top-level class of the Exiv2 library. The container holds Exifda...
Definition: exif.hpp:434
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
A container for XMP data. This is a top-level class of the Exiv2 library.
Definition: xmp_exiv2.hpp:165
const int cr2
CR2 image type (see class Cr2Image)
Definition: cr2image.hpp:45
Provides classes and functions to encode and decode Exif and Iptc data. The libexiv2 API consists of ...
Definition: basicio.hpp:43
PrintStructureOption
Options for printStructure.
Definition: image.hpp:64
@ comment
Exiv2 type for the Exif user comment.
Definition: types.hpp:120
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:197
ByteOrder
Type to express the byte order (little or big endian)
Definition: types.hpp:83
WriteMethod
Type to indicate write method used by TIFF parsers.
Definition: types.hpp:86
EXIV2API bool isCr2Type(BasicIo &iIo, bool advance)
Check if the file iIo is a CR2 image.
Definition: cr2image.cpp:206