#include <crwimage.hpp>
Static Public Member Functions | |
| static void | decode (CrwImage *pCrwImage, const byte *pData, uint32_t size) |
| Decode metadata from a Canon CRW image in data buffer pData of length size into crwImage. | |
| static void | encode (Blob &blob, const byte *pData, uint32_t size, const CrwImage *pCrwImage) |
| Encode metadata from the CRW image into a data buffer (the binary CRW image). | |
Stateless parser class for Canon CRW images (Ciff format).
Decode metadata from a Canon CRW image in data buffer pData of length size into crwImage.
This is the entry point to access image data in Ciff format. The parser uses classes CiffHeader, CiffEntry, CiffDirectory.
| pCrwImage | Pointer to the Exiv2 CRW image to hold the metadata read from the buffer.
|
References Exiv2::Image::exifData(), Exiv2::Internal::CiffComponent::pData(), and Exiv2::Internal::CiffComponent::size().
Referenced by Exiv2::CrwImage::readMetadata().
| void Exiv2::CrwParser::encode | ( | Blob & | blob, | |
| const byte * | pData, | |||
| uint32_t | size, | |||
| const CrwImage * | pCrwImage | |||
| ) | [static] |
Encode metadata from the CRW image into a data buffer (the binary CRW image).
| blob | Data buffer for the binary image (target).
|
Referenced by Exiv2::CrwImage::writeMetadata().
1.6.3