img2svg - convert bitmap images into vector repesentation
img2svg -i FILE (options)
img2svg converts bitmaps into halftone vector representations using various shapes, such as circles, squares, spirals or lines.
The primarily function of the tool is to create graphics for laser cutters, drawing machines and CNC mills.
If no options are supplied img2svg will select standard values.
Display a help message and exit.
Input file. Must be a valid bitmap image.
Output as bitmap PNG (default is vector SVG).
Define shape to represent grayscale (default is circle). Please note that spiral and line are only available for vector format.
Number of columns the image should be divided into (default is auto calculated). More columns equal more details but also larger vector.
The scale factor (default=1). Less than 1.0 will result in a samller image (not available for line representation)
-g Create a dithered version of the image. Only valid in conjunction with -s line
Vector specific options.
-f (color in HEX or by name)
Fill color (default: black)
-b (color in HEX or by name)
Background color (default: white)
-k (color in HEX or by name)
Stroke color (default: black).
Stroke width (0.0-5.0).
Black/white threshold (0-100, default: 50). only used for line shape.
Density between lines (0.1-1.0) when creating line based vectors. 1.0 equals no space between lines and 0.1 equals a nonsensical large space.
Create subtractive design by inverting black and white. Useful when designing for laser cutting and you want the cut-away partds to represent the lighter areas.