Extremely inefficient but arty conversion of bitmaps to semi-abstracted SVG
git clone
OPTIONS:
Basic Options:
These options define the basic appearance of the output image.
Shapetype (-s, --shapetype)
Vector shape to render. Right now, circle is the only available
choice.
Initial Shapes (-i, --initshapes)
Initial number of shapes.
Maximum Shapes (-m, --maxshapes)
number of shapes (-m, --maxshapes)
Edge (-e, --edge)
How far off-of screen to draw. Note that negative numbers will keep
points from being placed at the edge of the frame, leaving a messy
margin, but this margin will be counted against the image's score.
Often, this results in something like a fading-out of precision, which
can look nice for some images.
To have a margin where shapes are shown but are not part of the
comparison, a new option will have to be implemented.
Speed and Accuracy:
How do we decide when it's time to move on?
-r #, --speed=# How hard we try to get better results.
--width=### Pixel width of trial image. Defaults smaller of 200 or
size of original; height will be calculated.
Worker Tunables:
Knobs which tweak how the work is done.
-w #, --workers=# Parallel worker processes. Defaults to detected cpu
cores, minimum 4.
--savefreq=## To reduce I/O, log is written no more often than this.
Defaults to 60; set to 0 to write always.
Output Options:
In case you want to produce actual results.
-o FILE, --output=FILE
Output log file. Default based on input name.
--worklog=FILE Potentially gigantic intermediate work log file.
--overwrite Overwrite existing log file.
-c, --continue Continue reading from existing logfile. Note that with
this set, many other options are ignored.
--startwith=FILE Read from a log file as a starting point but write
output as normal.
-q, --quiet Be taciturn.
-v, --verbose Be chatty.
-d, --debug Output information that may slow things down.