Skip to main content

declares_animation

Function declares_animation 

Source
fn declares_animation(content_type: &str) -> bool
Expand description

Whether a declared content type names an animating container.

This reads what an upload claimed rather than the picture itself, so it decides only between stored rows, where no picture is in hand. The reader that decides from the bytes is sniff::animates.