Hacker News Viewer

Animated AVIF for the Modern Web

by sdoering on 1/26/2026, 12:45:50 PM

https://arthur.pizza/2025/12/animated-avif-for-the-modern-web/

Comments

by: throwaway09809

I wish avif images had more reasonable computational requirements. I find the format inferior to jpeg-xl but the difference isn’t that huge - both are good enough imo. Sadly a folder full of avif files will make pretty much any consumer cpu in existence chug like mad, it’s completely unusable for actually using those images as an average end user does unless you happen to have something silly like 64 core epyc. jxl is already slower than I’d like, but it’s good enough on a modern machine. avif… isn’t.

1/31/2026, 5:08:21 PM


by: out_of_protocol

Why .avifs when we have .webm already? Seems like overcomplicated replacement for already existing de-facto standard.

1/31/2026, 6:07:50 PM


by: 0xy

Very cool. I didn&#x27;t know that AVIFs had a full alpha layer, which seems to imply that we now have a format that can do animation AND transparency at reasonable file sizes in all modern browsers.<p>Perhaps I have a niche use case but I need to display animated images (or video) that has adaptive transparency (meaning the transparent area changes, for example think of a bonfire with smoke as an isolated object).<p>Previously I was using some Frankenstein setup with old encoders so I could feature detect and serve either WebMs (which have animation+transparency) or Apple ProRes for Safari (because Safari does support WebM, but not the full spec). Frustrating, and a workflow nightmare!

1/31/2026, 4:51:11 PM


by: james-bcn

What is the advantage of using avif over using an MP4 file?

1/31/2026, 5:35:27 PM


by: redipedz

[dead]

1/31/2026, 4:54:49 PM