25#include "exiv2lib_export.h"
113 std::string primaryGroup()
const;
118 mutable std::string primaryGroup_;
119 mutable std::string mimeType_;
120 mutable int pixelWidth_;
121 mutable int pixelHeight_;
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
virtual std::string comment() const
Return a copy of the image comment. May be an empty string.
Definition image.cpp:742
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
Image(int imageType, uint16_t supportedMetadata, BasicIo::AutoPtr io)
Constructor taking the image type, a bitmap of the supported metadata types and an auto-pointer that ...
Definition image.cpp:167
A container for IPTC data. This is a top-level class of the Exiv2 library.
Definition iptc.hpp:170
int pixelWidth() const
Return the pixel width of the image.
Definition tiffimage.cpp:136
void writeMetadata()
Write metadata back to the image.
Definition tiffimage.cpp:205
void readMetadata()
Read all metadata supported by a specific image format from the image. Before this method is called,...
Definition tiffimage.cpp:166
void setComment(const std::string &comment)
Not supported. TIFF format does not contain a comment. Calling this function will throw an Error(kerI...
Definition tiffimage.cpp:160
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
virtual void printStructure(std::ostream &out, PrintStructureOption option, int depth=0)
Print out the structure of image file.
Definition tiffimage.cpp:342
int pixelHeight() const
Return the pixel height of the image.
Definition tiffimage.cpp:148
std::string mimeType() const
Return the MIME type of the image.
Definition tiffimage.cpp:91
Stateless parser class for data in TIFF format. Images use this class to decode and encode TIFF data....
Definition tiffimage.hpp:130
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 TIFF format.
Definition tiffimage.cpp:275
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 TIFF format to the provided metadata ...
Definition tiffimage.cpp:248
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 pef
PEF image type (see class TiffImage).
Definition tiffimage.hpp:42
const int nef
NEF image type (see class TiffImage).
Definition tiffimage.hpp:41
const int dng
DNG image type (see class TiffImage).
Definition tiffimage.hpp:40
const int sr2
SR2 image type (see class TiffImage).
Definition tiffimage.hpp:44
const int srw
SRW image type (see class TiffImage).
Definition tiffimage.hpp:45
const int arw
ARW image type (see class TiffImage).
Definition tiffimage.hpp:43
const int tiff
TIFF image type (see class TiffImage).
Definition tiffimage.hpp:39
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 Image::AutoPtr newTiffInstance(BasicIo::AutoPtr io, bool create)
Create a new TiffImage instance and return an auto-pointer to it. Caller owns the returned object and...
Definition tiffimage.cpp:317
EXIV2API bool isTiffType(BasicIo &iIo, bool advance)
Check if the file iIo is a TIFF image.
Definition tiffimage.cpp:326
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