33 #ifndef PNGCHUNK_INT_HPP_
34 #define PNGCHUNK_INT_HPP_
147 static void parseChunkContent(
Image* pImage,
181 static void zlibUncompress(
const byte* compressedText,
182 unsigned int compressedTextSize,
200 const char* profileType);
Utility class containing a character array. All it does is to take care of memory allocation and dele...
Definition: types.hpp:204
Abstract base class defining the interface for an image. This is the top-level interface to the Exiv2...
Definition: image.hpp:81
Stateless parser class for data in PNG chunk format. Images use this class to decode and encode PNG-b...
Definition: pngchunk_int.hpp:63
static DataBuf decodeTXTChunk(const DataBuf &data, TxtChunkType type)
Decode PNG tEXt, zTXt, or iTXt chunk data from pImage passed by data buffer data and extract Comment,...
static void decodeIHDRChunk(const DataBuf &data, int *outWidth, int *outHeight)
Decode PNG IHDR chunk data from a data buffer data and return image size to outWidth and outHeight.
static DataBuf keyTXTChunk(const DataBuf &data, bool stripHeader=false)
Return PNG TXT chunk key as data buffer.
TxtChunkType
Text Chunk types.
Definition: pngchunk_int.hpp:68
static void decodeTXTChunk(Image *pImage, const DataBuf &data, TxtChunkType type)
Decode PNG tEXt, zTXt, or iTXt chunk data from pImage passed by data buffer data and extract Comment,...
static std::string makeMetadataChunk(const std::string &metadata, MetadataId type)
Return a complete PNG chunk data compressed or not as buffer. Data returned is formated accordingly w...
Class to access PNG images. Exif and IPTC metadata are supported directly.
Definition: pngimage.hpp:58
Provides classes and functions to encode and decode Exif and Iptc data. The libexiv2 API consists of ...
Definition: asfvideo.hpp:36
@ string
IPTC string type.
Definition: types.hpp:147
MetadataId
An identifier for each type of metadata.
Definition: types.hpp:119
PNG image, implemented using the following references: PNG specification by W3C PNG tags list by Phi...
Type definitions for Exiv2 and related functionality.