Hacker News – Self Extracting PNG

I’ve been working on this for a couple weeks, attempting to get it looking perfect and get it to 1kb. It’s going to be going on stage at http://solskogen.no/ shortly, so I figured now is the perfect time to post.

As far as I know, this is the first ever case of a self-extracting PNG — the file is a PNG that first is interpreted as HTML, which then unpacks the compressed code within the PNG to start the second stage. I plan to write a blog post about how I got the size down as far as it is, but feel free to ask any questions you may have, as I’d love to see this technique spread!

Edit: Requires Chrome and Firefox — has been tested heavily on Windows and OS X, but this will eat your CPU and GPU alive.

via Hacker News – Self Extracting PNG. Wow that is some impressive work.

Justin Yost is a full-time Software Engineer and a part time educator. A graduate of Texas Tech University with a bachelor's degree in computer science, Justin relishes programming and learning more about anything and everything. When not working, Justin occasionally gives talks at the local PHP Meetup. In his free time, Justin enjoys backpacking and reading science fiction books.

Tagged with: , , , , , ,
Posted in Programming, Quick Posts, Software Code, Technology
Short Link: http://www.yostivanich.com?p=3330