#include <cr2image.hpp>


Public Member Functions | |
Creators | |
| Cr2Header () | |
| Default constructor. | |
| ~Cr2Header () | |
| Destructor. | |
Manipulators | |
| bool | read (const byte *pData, uint32_t size) |
| Read the image header from a data buffer. Return false if the data buffer does not contain an image header of the expected format, else true. | |
Accessors | |
| void | write (Blob &blob) const |
| Write the image header to the binary image blob. This method appends to the blob. | |
| bool Exiv2::Cr2Header::read | ( | const byte * | pData, | |
| uint32_t | size | |||
| ) | [virtual] |
Read the image header from a data buffer. Return false if the data buffer does not contain an image header of the expected format, else true.
| pData | Pointer to the data buffer. | |
| size | Number of bytes in the data buffer. |
Reimplemented from Exiv2::TiffHeaderBase.
| void Exiv2::Cr2Header::write | ( | Blob & | blob | ) | const [virtual] |
Write the image header to the binary image blob. This method appends to the blob.
| blob | Binary image to add to. |
| Error | If the header cannot be written. |
Reimplemented from Exiv2::TiffHeaderBase.
1.5.4