png_set_iCCP

Name

png_set_iCCP -- set ICC component

Synopsis

#include <png.h>

void png_set_iCCP(png_structp png_ptr, png_infop info_ptr, png_charp name, int compression_type, png_charp profile, png_uint_32 proflen);

Description

png_set_iCCP() shall set the ICC component information to info_ptr. The arguments used to describe the ICC profile information have been described below:

name 

ICC profile name

compression_type 

compression type used must be 0

profile 

profile data

proflen 

length of profile data