png_set_expand

Name

png_set_expand -- set expansion transformation

Synopsis

#include <png.h>

void png_set_expand(png_structp png_ptr);

Description

png_set_expand() shall set transformation in png_ptr such that paletted images are expanded to RGB, grayscale images of bit-depth less than 8 are expanded to 8-bit images and tRNS chunks are expanded to alpha channels.