JavaScript Compression using Canvas and PNG-embedded data
Jacob Sedelin continues the mad experiments. The well-known founder of Javascript-ports Mario and Wolfenstein 3D was come to mind by idea to keep a javascript-code in a PNG-picture, thereby using possibilities of a compression of this format for code compression. The author has laid out small library which by means of a method getImageData() object Canvas reads out bytecode from a picture and translates it in clear for function eval() the form.
Tags : how-to humor javascript programming
You will be redirected to JavaScript Compression using Canvas and PNG-embedded data, in 20 seconds.
