This piece of code generates html and css file for a given image The image is displayed pixel by pixel by using divs of 1px x 1px size
The image is resized to avoid outputing collosal files
edit the path
variable to the correct image location and run the script
Run index.html
to see the output