this works well if you have a static background and a moving sprite. no so much if your background moves (or video).
Re:Hey Ho, GIFs Must Go (1999)
by PavlovsCat on Saturday October 26, 2019 @01:55PM
(#21365159)
The animated gifs that were everwhere generally were pixel animations rather than video.
well sure, when we had little bandwidth to even download a photo.
Re:Hey Ho, GIFs Must Go (1999)
by PavlovsCat on Saturday October 26, 2019 @02:09PM
(#21365245)
Not all animated pixel art was for lack of video, just like not all ascii art was and is for lack of images. Recording a video is a wholly different process to animating a 16x16 smiley. If anything, at least by now, I think more people record video because they can't draw, than people draw because they can't afford the equipment or bandwith for video.
Re:Hey Ho, GIFs Must Go (1999)
by userbinator on Saturday October 26, 2019 @07:29PM
(#21366971)
use transparency for non-changed parts of the image
In other words, similar to what video codecs do with "skipped macroblocks", except at a far more granular level. One wonders how efficient it would be if GIF was extended with things like motion vectors... but between the transparency/delta-enocding and the multi-palette "layering", you can sort of see the beginnings of a video codec.
There's also the trick where you can redefine the palette for each consecutive frame, and set the "delay" between frames to zero, in order to get more than 256 colors in a single image.
This is so horrendously inefficient it should be a crime. But it's still a GIF, and anything that can display animated GIFs can display it too.
Re:Hey Ho, GIFs Must Go (1999)
by Dylan16807 on Sunday October 27, 2019 @02:05AM
(#21368106)
Not that that means it will display entirely correctly. Browsers generally treat delays of 0 or 1 centiseconds as errors, and instead sit on that frame for a tenth of a second.
There is a trick where subsequent frames use transparency for non-changed parts of the image which gives a much better compression ratio than you might think.