Converts an image to a Buegelperlen template. We use the k means algorithm to cluster the image in a given number of colors. Then the image is resized and converted to a nice template.
I know this is stupid.
python buegelperl.py [imagename]
The result image is a tiff file. Change the size to the size of your Buegelperlennoppenfeld. We assume a rectangular Buegelperlennoppenfeld.