Script to convert an given image into an html doc