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

You'll need to wait a while longer, then, I think. GIF really should have died a long time ago. It's technologically inferior and lives in only the smallest image niche of the web, animation.

WebP should win over GIF. It's smaller, can be either lossy or lossless, supports full transparency, has animation, ... except for the fact that almost all GIF usage is (a) "clipart", (b) forums/comments/emails or (c) raw links (i.e. Imgur).

When I say clipart, I meant that most GIF image use would be people using GIFs made by other people. The Internet has a large treasure trove of GIFs that people will re-use from here to eternity. I doubt anyone will ever bother to convert the GIF to WebP.

Even if they did, if your browser doesn't natively support WebP[1] then you need a Javascript shim. Most people won't know what a shim is or won't be allowed to arbitrarily inject JS into the forum/comment/email. With raw image links, it's obviously not possibly to add a JS shim either.

I hate to say, but I think we're going to be stuck with GIF for a while longer...

[1]: http://en.wikipedia.org/wiki/WebP#Support



You'll need to wait a while longer, then, I think. GIF really should have died a long time ago. It's technologically inferior and lives in only the smallest image niche of the web, animation.

And GIF's reprieve got extended thanks to Tumblr images of Tom Hiddleston mouthing words, of all things.


APNG is a viable replacement for animation. APNG animations have long been supported in the release versions of firefox and opera, and there is an extension to enable them for chrome. Browser that do not support it will still render the first frame as a static image.


I was going to mention APNG but honestly it's dead. The PNG Group itself decided not to embrace APNG in April 2007. The format's years old now and even if it were to make a comeback, it still faces all the same issues as WebP except without backing from a single major party.

APNG's degraded support is possibly even worse for adoption. It has all the same issues as WebP (see the shim discussion above) bundled with the fact that people don't expect PNGs to move.

People either (a) don't know it's broken (i.e. think the single frame means it's a static image) or (b) know it's broken and chide you for using PNG instead of GIF.




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

Search: