24#include "exiv2lib_export.h"
27#include "tiffimage.hpp"
An interface for simple binary IO.
Definition basicio.hpp:55
std::auto_ptr< BasicIo > AutoPtr
BasicIo auto_ptr type.
Definition basicio.hpp:58
A container for Exif data. This is a top-level class of the Exiv2 library. The container holds Exifda...
Definition exif.hpp:434
std::auto_ptr< Image > AutoPtr
Image auto_ptr type.
Definition image.hpp:81
virtual BasicIo & io() const
Return a reference to the BasicIo instance being used for Io.
Definition image.cpp:752
A container for IPTC data. This is a top-level class of the Exiv2 library.
Definition iptc.hpp:170
void setComment(const std::string &comment)
Not supported. ORF format does not contain a comment. Calling this function will throw an Error(kerIn...
Definition orfimage.cpp:75
std::string mimeType() const
Return the MIME type of the image.
Definition orfimage.cpp:52
int pixelHeight() const
Return the pixel height of the image.
Definition orfimage.cpp:66
void readMetadata()
Read all metadata supported by a specific image format from the image. Before this method is called,...
Definition orfimage.cpp:96
OrfImage(BasicIo::AutoPtr io, bool create)
Constructor that can either open an existing ORF image or create a new image from scratch....
Definition orfimage.cpp:46
void printStructure(std::ostream &out, PrintStructureOption option, int depth)
Print out the structure of image file.
Definition orfimage.cpp:81
int pixelWidth() const
Return the pixel width of the image.
Definition orfimage.cpp:57
void writeMetadata()
Write metadata back to the image.
Definition orfimage.cpp:119
Stateless parser class for data in ORF format. Images use this class to decode and encode ORF data....
Definition orfimage.hpp:102
static ByteOrder decode(ExifData &exifData, IptcData &iptcData, XmpData &xmpData, const byte *pData, uint32_t size)
Decode metadata from a buffer pData of length size with data in ORF format to the provided metadata c...
Definition orfimage.cpp:146
static WriteMethod encode(BasicIo &io, const byte *pData, uint32_t size, ByteOrder byteOrder, const ExifData &exifData, const IptcData &iptcData, const XmpData &xmpData)
Encode metadata from the provided metadata to ORF format. See TiffParser::encode().
Definition orfimage.cpp:165
TiffImage(BasicIo::AutoPtr io, bool create)
Constructor that can either open an existing TIFF image or create a new image from scratch....
Definition tiffimage.cpp:70
A container for XMP data. This is a top-level class of the Exiv2 library.
Definition xmp_exiv2.hpp:166
Supported image formats.
Definition asfvideo.hpp:42
const int orf
ORF image type (see class OrfImage).
Definition orfimage.hpp:38
Provides classes and functions to encode and decode Exif and Iptc data. The libexiv2 API consists of ...
Definition asfvideo.hpp:36
PrintStructureOption
Options for printStructure.
Definition image.hpp:64
EXIV2API bool isOrfType(BasicIo &iIo, bool advance)
Check if the file iIo is an ORF image.
Definition orfimage.cpp:216
@ comment
Exiv2 type for the Exif user comment.
Definition types.hpp:139
ByteOrder
Type to express the byte order (little or big endian).
Definition types.hpp:102
WriteMethod
Type to indicate write method used by TIFF parsers.
Definition types.hpp:105
EXIV2API Image::AutoPtr newOrfInstance(BasicIo::AutoPtr io, bool create)
Create a new OrfImage instance and return an auto-pointer to it. Caller owns the returned object and ...
Definition orfimage.cpp:207