#include <pngchunk.hpp>
Static Public Member Functions | |
static void | decode (Image *pImage, const byte *pData, long size, int *outWidth, int *outHeight) |
Decode PNG chunk metadata from a data buffer pData of length size into pImage. |
void Exiv2::PngChunk::decode | ( | Image * | pImage, | |
const byte * | pData, | |||
long | size, | |||
int * | outWidth, | |||
int * | outHeight | |||
) | [static] |
Decode PNG chunk metadata from a data buffer pData of length size into pImage.
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. | |
outWidth | Integer pointer to be set to the width of the image. | |
outHeight | Integer pointer to be set to the height of the image. |