News for hackers. Stuff that matters.
Re:What's In A GIF by wladimir on Thursday November 24, 2011 @05:22AM (#3273886)
(1) is indeed a use-case, unless you require more detailed control over playback/pause/frame numbers. In which case a series of png images (for example, encoded into a .css) and animated using javascript could be used. Google uses this for their doodles.

I think (2) is not really a good use-case. GIF is a terrible, terrible format for movies because of the crappy quality and inefficient interframe encoding. Just use a movie format, they're also good at low-res low-bitstream.

Re:What's In A GIF by AndrewDucker on Thursday November 24, 2011 @05:45AM (#3273922)
Using a movie format means that you either have to provide multiple versions for different browsers or you have to use Flash.

For a four-second clip of a man being hit in the face with a cat I'm not sure either of those is worthwhile.

Re:What's In A GIF by wlievens on Thursday November 24, 2011 @07:02AM (#3274069)
I'd think CSS sprited PNGs are much preferred over anigif, not just because of playback control but also because of non-shitty translucency.
Re:What's In A GIF by satori99 on Thursday November 24, 2011 @05:15PM (#3275548)
(2) is used alot by porn sites (So i hear).

Mouse hovers show an animated GIF representation of the 'film' as a preview.