logoalt Hacker News

zetanor • yesterday at 9:54 PM • 1 reply • view on HN

When it comes to animations, is there much of a reason to use avif over webm? I suppose an avif fits into CSS and <img> without further code changes, but that's about it as far as I can think.


Replies

Starlevel004 • yesterday at 11:05 PM

An AVIF and a WebM + AV1 is basically identical file-size wise, but you can zoom in on an AVIF so for actual animated images it wins on that front.