Feed Sign in with OpenID OpenID

Simon Willison’s Weblog

10K Apart Contest: Cheating by Compressing Your JavaScript and CSS to PNG Images. Fascinating hack: transform your JS and CSS in to coloured pixels, save the result as a PNG to benefit from PNG’s built in compression algorithms, then read the data back out of the PNG and convert it back to text using JavaScript and canvas—all to reduce the on-disk filesize when entering the 10K app competition. Alex’s GithubFinder entry is worth checking out too.

Tagged , , , , , ,

5 comments

  1. I thank you humbly for shainrg your wisdom JJWY

    Nikki - 9th September 2011 06:14 - #

  2. Nice work! Your post is an excellent example of why I keep coming back to read your excellent quality content that is forever updated. Messebau Frankfurt

    simmi - 14th October 2011 09:59 - #

  3. I apart of this , and Had got many application and denied many as well. Will see them around. Xbox live code generator

    Siddiq - 24th October 2011 20:42 - #

  4. The work that went into this is so good. I think there is so much that you can do with this. I love having this option for this. Alarmforce Review

    john dillon - 24th October 2011 21:40 - #

  5. Stellar work there everyone. I'll keep on raeding.

    Almena - 31st October 2011 17:51 - #

Comments are closed.
A django site