Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I tried these examples on ezgif, and indeed apng manages to be smaller than webp every single time. Weird, I was under the impression that webp was almost always smaller? Is this because GIF images are already special, or apng uses better compression than png?

edit: using the same ezgif webp and apng on a H.264 source, apng is suddenly 10x the size than webp. It seems apng is only better if the source is gif



I would guess that apng only wins when indexed colors can be used. That guess would match what you saw using an h264 file for the source.


I have no idea! I actually hoped someone would show a much more comprehensive and serious benchmark in response, but that has failed to materialize.


Almost like video codecs and animated images are different niches that optimize for different content.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: