png_set_sRGB
Name
png_set_sRGB -- set the rendering intent for given image
Synopsis
void
png_set_sRGB
(png_structp
png_ptr, png_infop
info_ptr, int
srgb_intent);
Description
png_set_sRGB() shall set the rendering intent of an image as specified by
srgb_intent and shall set the sRGB chunk information to valid for the image. The
presence of sRGB chunk implies that the pixel data is in the sRGB color space.
srgb_intent can take one of the following values
PNG_sRGB_INTENT_SATURATION |
PNG_sRGB_INTENT_PERCEPTUAL |
PNG_sRGB_INTENT_ABSOLUTE |
PNG_sRGB_INTENT_RELATIVE |