News for hackers. Stuff that matters.
Re:Gif.js – JavaScript GIF encoding library by arcameron on Friday August 08, 2014 @07:21PM (#8155627)
Why bother with gif these days, and why in the browser?
Re:Gif.js – JavaScript GIF encoding library by scrollaway on Saturday August 09, 2014 @12:36AM (#8156223)
Just because it's a crappy, outdated format doesn't mean a gif.js isn't useful.

That said, please don't use gifs. Use hosts like https://mediacru.sh/ that convert them to videos.

Please.

Re:Gif.js – JavaScript GIF encoding library by DINKDINK on Friday August 08, 2014 @07:50PM (#8155726)
To those downvoting, what use cases make GIFs better than HTML 5
Re:Gif.js – JavaScript GIF encoding library by ubercow on Saturday August 09, 2014 @02:27AM (#8156356)
Lots of social media sites (like Google+) have much better gif support over things like webm. With G+, webms take like 15 seconds to open their fullscreen viewer, click play, wait for buffering, then watching it. Gifs just play right in the stream.

I'd personally love to see wider range support for animated webps, but I doubt that's going to happen for a long time, if at all.

Re:Gif.js – JavaScript GIF encoding library by arcameron on Friday August 08, 2014 @07:56PM (#8155747)
I don't follow your comment, but I should have been more explicit:

gif is a waste of bandwidth compared to a soundless webm

Re:Gif.js – JavaScript GIF encoding library by Wilya on Friday August 08, 2014 @08:34PM (#8155831)
Gifs work everywhere. They're heavy, but support is pretty much guaranteed. That's still not the case for webm.
Re:Gif.js – JavaScript GIF encoding library by arcameron on Friday August 08, 2014 @09:42PM (#8155974)
If you're OK with screwing over Safari/IE users, you'll have pretty good support. You could engineer a browser-based fallback to gif, but honestly I wouldn't bother.

I'd imagine we can create an impetus to support it if we actually used it more

Re:Gif.js – JavaScript GIF encoding library by userbinator on Friday August 08, 2014 @11:50PM (#8156163)
...and webm is a waste of CPU and memory compared to gif :-)

There are always tradeoffs.

Re:Gif.js – JavaScript GIF encoding library by inspiredjw on Friday August 08, 2014 @10:30PM (#8156053)
GIFs are better on legacy browers