png_read_image

Name

png_read_image -- read the entire image into memory

Synopsis

#include <png.h>

void png_read_image(png_structp png_ptr, png_bytepp image);

Description

png_read_image() reads the entire image into memory at once. For each pass of an interlaced image, use png_read_rows() instead.