@floid
As hacks go its interesting but it relies on the fact that the screen on which the gif is shown is capable of showing each frame in full colour.
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.