5 ms·
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 h
by shachaf 13y ago
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/ 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.
- est 13y agoI always wondered if there's efficient GIF compress trick for Cinemagraphs
- rcxdude 13y agoThere's an example of a true-colour GIF on this page: http://phil.ipal.org/tc.html http://phil.ipal.org/tc.html
- Smerity 13y agoThanks 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.
- bluedino 13y agoIf I drag that true color GIF in Safari, it doesn't do the drag with transparency like the other two. Weird.
- est 13y agoI always wondered if there's efficient GIF compress trick for Cinemagraphs. Looks like GCE is promising.