News for hackers. Stuff that matters.
Re:The Mystery of the Spotty Animated GIF by shachaf on Saturday May 11, 2013 @04:37AM (#5690105)
On the "Random Thought": The GIF doesn't need to be animated. A GIF is made of multiple frames and each frame contains multiple image blocks. Each image block has its own coördinates and color table. You should be to use multiple image blocks in one frame (GCE block) to get one frame with 24-bit color.

For historical reasons most browsers don't respect a frame delay of 0 (computers used to be slow enough that even a 0 delay was good enough for animation; as they got faster browsers added extra delays to make old animations work correctly), but I think some renderers will correctly treat it as one frame (at least http://slbkbs.org/jsgif/ does! It has other problems with tricky GIFs, though -- the disposal method code is broken, for one).

Of course, you should just use PNG.

Re:The Mystery of the Spotty Animated GIF by rcxdude on Saturday May 11, 2013 @04:51AM (#5690136)
There's an example of a true-colour GIF on this page:

http://phil.ipal.org/tc.html

Re:The Mystery of the Spotty Animated GIF by Smerity on Saturday May 11, 2013 @04:54AM (#5690139)
Thanks for pointing that example out! I should have searched when I wrote about it, but it just tangentially dawned on me that true-colour GIFs were possible as I was writing the article.
Re:The Mystery of the Spotty Animated GIF by bluedino on Saturday May 11, 2013 @12:16PM (#5691063)
If I drag that true color GIF in Safari, it doesn't do the drag with transparency like the other two. Weird.
Re:The Mystery of the Spotty Animated GIF by est on Saturday May 11, 2013 @04:57AM (#5690145)
I always wondered if there's efficient GIF compress trick for Cinemagraphs. Looks like GCE is promising.
Re:The Mystery of the Spotty Animated GIF by est on Saturday May 11, 2013 @05:19AM (#5690179)
I always wondered if there's efficient GIF compress trick for Cinemagraphs