Skip to content

Latest commit

 

History

History
17 lines (12 loc) · 514 Bytes

README.md

File metadata and controls

17 lines (12 loc) · 514 Bytes

This is a simple python script to convert images to pure css (using background colors).

To run this program, make sure you have python and pip installed in your machine (I am using Python 3.8.2 and Pip 20.0.2), then run:

pip install -r requirements.txt

python main.py [IMAGE_PATH_HERE] # without brackets

if you just want to test the script, you can use the test image:

python main.py ./test.jpeg

Result (browser view + generated html):

Generated html and browser result