png_read_end

Name

png_read_end -- read the end of PNG file

Synopsis

#include <png.h>

void png_read_end(png_structp png_ptr, png_infop info_ptr);

Description

png_read_end() reads the end of a PNG file after reading the image data, including any comments or time information at the end of the file. The function shall not read past the end of the file.