#include <stdbool.h>
Go to the source code of this file.
Functions | |
int | png_iTXt_length (const char *keyword, const char *text) |
Determine length of a serialized PNG iTXt chunk. | |
bool | png_iTXt (const char *keyword, const char *text, unsigned char *chunk, int length) |
Serialize a PNG iTXt chunk. |
bool png_iTXt | ( | const char * | keyword, |
const char * | text, | ||
unsigned char * | chunk, | ||
int | length | ||
) |
Serialize a PNG iTXt chunk.
http://www.w3.org/TR/PNG/#5Chunk-layout http://www.w3.org/TR/PNG/#11iTXt
keyword | The keyword for the chunk. |
text | The text for the chunk. |
chunk | Buffer for output. |
length | Length of the buffer. |
true
if the buffer was large enough, false
otherwise. Definition at line 20 of file png.c.