Exiv2: Exiv2::PngChunk Class Reference

- Main Page
- Namespaces
- Classes
- Files
- Examples

- Search for |

- Alphabetical List
- Class List
- Class Hierarchy
- Class Members

# 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.

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

- pngchunk.hpp
- pngchunk.cpp