Skip to content
Python scripts for producing artistic image transformations
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.


Type Name Latest commit message Commit time
Failed to load latest commit information.


Python scripts for producing artistic image transformations


Requires imagemagick, lxml, PIL, OpenCV, numpy, matplotlib and potrace. And batik (how could I forget it?). Too much, I know. Later versions will almost certainly require lxml, potrace and batik (I like the convenience of manipulating SVG), although I hope to settle on one image processing library (OpenCV, most likely).

USAGE: ./ pathToInputImage pathToConfig

Config files contain an elaborate python dictionary specifying how the input image should be transformed.

To run the script using the sample images and configs:

./ images/1024px-Osteospermum_lemon_symphony.jpg config/

./ images/Winston_Churchill_1874_-_1965_ZZZ5426F.jpg config/

./ images/Jefferson_Memorial_rear_view_IMG_4733.JPG config/

I owe a debt of inspiration and example to Greg Borenstein, who used a similar process for his 2014 nanogenmo entry, available here and here.

You can’t perform that action at this time.