Exiv2
Loading...
Searching...
No Matches
Exiv2::OrfParser Class Reference

Stateless parser class for data in ORF format. Images use this class to decode and encode ORF data. See class TiffParser for details. More...

#include <orfimage.hpp>

Static Public Member Functions

static ByteOrder decode (ExifData &exifData, IptcData &iptcData, XmpData &xmpData, const byte *pData, size_t size)
 Decode metadata from a buffer pData of length size with data in ORF format to the provided metadata containers. See TiffParser::decode().
static WriteMethod encode (BasicIo &io, const byte *pData, size_t size, ByteOrder byteOrder, ExifData &exifData, IptcData &iptcData, XmpData &xmpData)
 Encode metadata from the provided metadata to ORF format. See TiffParser::encode().

Detailed Description

Stateless parser class for data in ORF format. Images use this class to decode and encode ORF data. See class TiffParser for details.

Member Function Documentation

◆ decode()

ByteOrder Exiv2::OrfParser::decode ( ExifData & exifData,
IptcData & iptcData,
XmpData & xmpData,
const byte * pData,
size_t size )
static

Decode metadata from a buffer pData of length size with data in ORF format to the provided metadata containers. See TiffParser::decode().

References Exiv2::Internal::TiffParserWorker::decode(), Exiv2::Internal::TiffMapping::findDecoder(), and Exiv2::Internal::Tag::root.

Referenced by Exiv2::OrfImage::readMetadata().

◆ encode()

WriteMethod Exiv2::OrfParser::encode ( BasicIo & io,
const byte * pData,
size_t size,
ByteOrder byteOrder,
ExifData & exifData,
IptcData & iptcData,
XmpData & xmpData )
static

The documentation for this class was generated from the following files: