png_set_gray_to_rgb

Name

png_set_gray_to_rgb -- expand the grayscale image to 24-bit RGB

Synopsis

#include <png.h>

void png_set_gray_to_rgb(png_structp png_ptr);

Description

png_set_gray_to_rgb() shall set transformations such that the grayscale image is converted to 24-bit RGB.