png_set_rgb_to_gray

Name

png_set_rgb_to_gray -- reduce 24-bit RGB to grayscale image

Synopsis

#include <png.h>

void png_set_rgb_to_gray(png_structp png_ptr);

Description

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