Generate an image to HTML

[ Summer 2002 ]

[Java]

This utility takes an image file and translates each pixel of the image into a text representation of the same color in a HTML file. The html file is generally around 60 times the size of the image, so you're advised to use small images. :) Why would you want to do this? Beats me.

So something like this:
Image of Zippy from rainbow! gets transformed into this [280k]
Or something like this:
An image of Buddha! gets transformed into this [1.2Mb]

Useage:

java HTMLImageGenerator <image location> <file to save
to>
           <grayscale [true|false]>* <textFile to read from>*

* = optional

The textfile to read from will take two character segments of text at a time and use it as the background text for the html.

To do:

Convert all "Font" tags to CSS if possible, using a map of color types. (If it results in smaller files)

Download [8Kb].


Return to project page