I first learned about this technique from Cody Brocious' post ( http://daeken.com/superpacking-js-demos ) about his WebGL demo 'Magister' ( http://demoseen.com/windowpane/magister.html ). That file has a .html extension, but it's also a valid PNG. In his post, he discusses this technique as well as others. Cody's goal was to compress already minified WebGL code and achieve some pretty impressive results from a ridicu…
This is really clever. Unfortunately, the linked page doesn't seem to have the bootstrap code that has the magic of getting from a PNG to a web page. Is this around somewhere? (I could download the demo PNG and extract it myself, but I'm hoping not to have to do that...)
Right, just rung strings on the demo and you'll see the custom PNG chunk:
``` jawh ```