png_set_unknown_chunk_location

Name

png_set_unknown_chunk_location -- set the location of an unknown chunk in a PNG file

Synopsis

#include <png.h>

void png_set_unknown_chunk_location(png_structp png_ptr, png_infop info_ptr, int chunk, int location);

Description

This interface shall set the location of an unknown chunk in a PNG file.

The parameter png_ptr shall specify the PNG file.

The parameter info_ptr shall specify the PNG info structure.

The parameter chunk shall specify the number of the chunk in the png_unknown_chunkpp array.

The parameter location shall specify the new location of the chunk within the PNG file.