png_set_sBIT

Name

png_set_sBIT -- set number of significant bits for each channel

Synopsis

#include <png.h>

void png_set_sBIT(png_structp png_ptr, png_infop info_ptr, png_color_8p sig_bit);

Description

png_set_sBIT shall set the number of significant bits for each of gray, red, green and blue channels, whichever are appropriate for the given color type.