#include <tiffimage_int.hpp>
Static Public Member Functions | |
ByteOrder | decode (ExifData &exifData, IptcData &iptcData, XmpData &xmpData, const byte *pData, uint32_t size, uint32_t root, FindDecoderFct findDecoderFct, TiffHeaderBase *pHeader=0) |
Decode TIFF metadata from a data buffer pData of length size into the provided metadata containers. | |
WriteMethod | encode (BasicIo &io, const byte *pData, uint32_t size, const ExifData &exifData, const IptcData &iptcData, const XmpData &xmpData, uint32_t root, FindEncoderFct findEncoderFct, TiffHeaderBase *pHeader) |
Encode TIFF metadata from the metadata containers into a memory block blob. |
|
Decode TIFF metadata from a data buffer pData of length size into the provided metadata containers. This is the entry point to access image data in TIFF format. The parser uses classes TiffHeader and the TiffComponent and TiffVisitor hierarchies.
|
|
Encode TIFF metadata from the metadata containers into a memory block blob. 1) Parse the binary image, if one is provided, and 2) attempt updating the parsed tree in-place ("non-intrusive writing") 3) else, create a new tree and write a new TIFF structure ("intrusive writing"). If there is a parsed tree, it is only used to access the image data in this case. |