img-to-html-boxshadow is a Python script that converts every pixel from an image, to a box-shadow pixel.
Download the imgtohtmlboxshadow.py script and install PIL
pip install pillow
imgtohtmlboxshadow.py -img IMAGE_DOT_EXTENSION -output FILENAME.html
imgtohtmlboxshadow.py -img cat.jpg -output cat.html
imgtohtmlboxshadow.py -img fish.png -output fish.html
Convert rgba(r, g, b, a) to hex value, to reduce the file size- Improve the width (and height) of a pixel, when the adjacent pixels are the same, in order to remove repetitive pixels and improve file size