#include <tiffimage.hpp>
Static Public Member Functions | |
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 containers. | |
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. |
|
Decode metadata from a buffer pData of length size with data in TIFF format to the provided metadata containers.
|
|
Encode metadata from the provided metadata to TIFF format.
The original binary image in the memory block pData, size is parsed and updated in-place if possible ("non-intrusive" writing). If that is not possible (e.g., if new tags were added), the entire TIFF structure is re-written to the io instance ("intrusive" writing).
|