@656,038
I wonder, could you use this to deliver the content of a static webpage in a compressed format without having to configure the server for gzip transfer encoding? Like put the script in the <head> and then in the body just call the script to decode a linked image and display the output.
Like I've got a page that's ~30kb but it's just tables and sprites so it compresses well. The script itself is a little over 4kb and this zip of the page and sprite is 2.35kb when encoded, so theoretically the total data package would be less than 7kb. Hard to be sure though, as the sprite sheet is currently external rather than base64 encoded because I don't know how to assign sprite coordinates to base64 data without inserting the entire file for every set of coordinates since there's no filename to use as a reference.