png_get_rows

Name

png_get_rows -- retrieve image data from png_info structure

Synopsis

#include <png.h>

png_bytepp png_get_rows(png_structp png_ptr, png_infop info_ptr);

Description

png_get_rows() shall retrieve rows of image data from the info_ptr structure in an array of pointers to the pixel data for each row.

Return Value

On success, png_get_rows() shall return an array of pointers to the pixel data for each row of the image.