png_get_tIME

Name

png_get_tIME -- get last modification time for the image

Synopsis

#include <png.h>

png_uint_32 png_get_tIME(png_structp png_ptr, png_infop info_ptr, png_timep * mod_time);

Description

png_get_sBIT() shall return the time of last modification of the image if the tIME information is valid for the image.

Return Value

PNG_INFO_tIME - if png_ptr, info_ptr, mod_time are not NULL and tIME information is valid 0 - otherwise.