Skip to main content

webp_sequence

Function webp_sequence 

Source
fn webp_sequence(bytes: &[u8]) -> Option<bool>
Expand description

Whether a WebP announces animation in its opening chunk.

The chunk name and the flags sit at fixed offsets, so this reads two fields and never walks. Only the two plain still forms answer as a still, since a chunk name neither they nor the extended header claim is a structure this does not recognize.