Hacker News new | ask | show | jobs
by Eek 2115 days ago
This is awesome! Love the equal size comparison. I've wrote a few years ago an article about BPG which also had support for animation - https://eek.ro/why-bpg-will-replace-gifs-and-not-only/

Does AVIF have any support for animations?

Glad to finally see an royalty-free format starting to get traction.

1 comments

Yeah, AVIF supports animations, but I haven't tried it yet, and don't know the state of implementations. In general, I'm not that excited by anim-image formats, I just go for the video format in that case.
Yeah, MP4s are the tool to go now, especially since you can autoplay them almost anywhere (I'm looking at you Apple).

But still, we still can't use them in mail yet. So having an image to play is definitely interesting - for email - for now.

Doesn’t PNG technically support animation, too? It’s just that no one implements it?
It's pretty well supported https://caniuse.com/apng
Interesting. I remember (a few years ago) finding out about them through Wikipedia and that I would need a Chrome extension to use them (they had an example). So, I installed it to view it, but I never saw any other usage of it outside of that page/article.

I guess there’s not really much space savings[0] over an animated GIF even with an optimized PNG and max compression. It does explain why WebP is replacing GIF though[a]: being a video format, it can compress much better.

Off topic: Is YouTube still using VP8? Or have they switched to AV1 (the basis of AVIF)?

[0]: https://corydowdy.com/blog/apng-vs-webp-vs-gif

[a]: The popular GIF sharing site Giphy actually uses WebP if your browser supports it. Otherwise just browsing their site would use hundreds of megabytes (which isn’t good for mobile users with a data cap)