Skip to content

Simple python script to convert images to pure css (using background colors).

Notifications You must be signed in to change notification settings

Rakesh717/image-to-pure-css

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Simple python script to convert images to pure css (using background colors).

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages