APNG Tutorial | ||
---|---|---|
<<< Previous | New Functions List | Next >>> |
For all the getters if any parameters are NULL or the image does not have an acTl chunk, return is 0.
Note the png_get_next_frame* functions are different from other libpng getters because the values they return are only good for the current frame, not for the whole image.
png_uint_32 png_get_acTl
(png_structp png_ptr, png_infop info_ptr, png_uint_32* num_frames, png_uint_32* num_plays);
Retrieves the number of frames in the animated image and the number of times the animation should play.
Retrieves the number of times the animation should play.
Retrieves the number of iterations in the animated image.
void png_get_next_frame_fcTl
(png_structp png_ptr, png_infop info_ptr, png_uint_32* width, png_uint_32* height, png_uint_32* x_offset, png_uint_32* y_offset, png_uint_16* delay_num, png_uint_16* delay_den, png_byte* dispose_op, png_byte* blend_op);
Retrieves the contents of the entire fcTl chunk for the following frame. The contents are described in detail in the APNG Specification.
<<< Previous | Home | Next >>> |
Writing | Up | Setters |