Exiv2::PngChunk Class Reference
Stateless parser class for data in PNG chunk format. Images use this class to decode and encode PNG-based data.
More...
#include <pngchunk.hpp>
List of all members.
|
Static Public Member Functions |
static void | decode (Image *pImage, const byte *pData, long size) |
| Decode PNG chunk metadata from a data buffer pData of length size into pImage.
|
Detailed Description
Stateless parser class for data in PNG chunk format. Images use this class to decode and encode PNG-based data.
Member Function Documentation
void Exiv2::PngChunk::decode |
( |
Image * |
pImage, |
|
|
const byte * |
pData, |
|
|
long |
size | |
|
) |
| | [static] |
Decode PNG chunk metadata from a data buffer pData of length size into pImage.
- Parameters:
-
| pImage | Pointer to the image to hold the metadata |
| pData | Pointer to the data buffer. Must point to PNG chunk data; no checks are performed. |
| size | Length of the data buffer. |
References Exiv2::DataBuf::pData_.
The documentation for this class was generated from the following files: