png_write_chunk

Name

png_write_chunk -- write a PNG chunk

Synopsis

#include <png.h>

void png_write_chunk(png_structp png_ptr, png_bytep chunk_name, png_bytep data, png_size_t length);

Description

png_write_chunk() writes the start of a PNG chunk, the chunk data and the end of the chunk all at once.