Hacker News new | ask | show | jobs
by sodapopcan 1116 days ago
In case those who aren't as old as us are confused, "animated gif" is not a redundant term. There was a time when static gifs were just as common as animated ones, if not more so!

:upsidedown-face:

(definitely for sure more-so if you include spacer.gif)

2 comments

More so. Mid-nineties web static images were either jpg og gif. Preferably gifs, which mostly compressed way better for anything but photos. With proper indexing, color limitation, dithering, bitcount, and vigilant observance of proper websafe color palette you could shave amazing extra kilobytes off precious bandwith. Animations were for Geocities.
Even worse, GIF was not intended to be just an “animated image format”, it was “general purpose media streaming format” which incorporated frames/layers, sequence ordering, palette switches, and compression (also, one couldn't be sure that client hardware can decode and paint even a single frame fast enough).

Some old picture book or presentation type GIF files have 0 delay time between frames (doesn't work well with software of later decades, when GIF animations became common), and 0 is “draw as soon as possible” in the specification. Even a simple viewer program without support for metadata or user interaction would have to wait for each frame to be received via modem link, and it would take some time, especially for full screen images. Therefore, a competent GIF viewer software should have an option to simulate 1200 baud download for those old files, and compute the additional delay based on frame size in bytes.