WE NO LONGER LIVE HERE! CLICK HERE TO GO TO OUR NEW HOME.

December 15, 2003

etriganNerdGeek Cool Beyond Cool: BMP2HTML

This guy wrote a program that converts a .bmp picture to an html table — I know, I know: why?

You see I was challenged about two years ago to come up with a way to embed an image right into a web page, so that there would only be one file to download. It’s a pointless challenge, I know, but I thought what the heck, why not have a bit of fun and see if I can actually do it. In order to keep it strictly pointless, I decided to keep things strictly HTML. How boring it would be if we just embedded the raw binary data into a PHP page and use the “imagecreatetruecolour” function to build the image, or some other cheap method like that.

Here’s the original picture of my favorite Season 6 Survivor”

Here’s the html converted verson.

Posted by etrigan at December 15, 2003 9:21 PM