#include <png.h>
void png_set_gray_to_rgb(png_structp png_ptr);
void png_set_gray_to_rgb
png_set_gray_to_rgb() shall set transformations such that the grayscale image is converted to 24-bit RGB.