png_read_info

Name

png_read_info -- read the PNG image information

Synopsis

#include <png.h>

void png_read_info(png_structp png_ptr, png_infop info_ptr);

Description

Reads the information before the actual image data from the PNG file. The function allows reading a file that already has the PNG signature bytes read from the stream.