minator wrote:
It's a hack in that it allows the file to represent an image with more than 256 colours, not display more than that many on an 8-bit display.
As such, it wouldn't work on a 256 colour screen.
No, thats the point, it does allow >256 colours even on a 256 colour screen.
The screen itself only displays 256 colours at a time but your brain will combine the frames so you will "see" a different image with more colours.
Whoever said it first got it right. The GIF *format* is limited to 256 colors/image, but apparently allows these to be tagged (like Amiga 'pens,' among other Amigan things... at least, I
think 'pen' is a safe word to use here) out of a truecolor space. (Who knew, especially if you were raised on an IBMalike?)
Meanwhile, animated GIF was a simple hack to begin with -- basically a number of GIF images concatenated -- and
combined with the format's transparency support, you can guess how it all comes together here. No dithering, no tricks to display >256 colors on a low-color display, just an amusingly novel way to get beyond the "256 color" limitation in the specification itself... and a nice optimization puzzle, if you'd want to try to write a generic converter that obtains maximum compression.