Skip to main content

image_frames

Function image_frames 

Source
pub fn image_frames(bytes: &[u8]) -> u32
Expand description

The frames an image decodes into: a GIF’s image descriptors, an APNG’s acTL count, an animated WebP’s ANMF chunks; 1 otherwise (and for a truncated header, the frames found).