Versionv0.1.5
Revision3
Size0.8 MB
LicenseMIT
Confinementstrict
Basecore18
CategoriesUtilities

Command line program to convert an SVG to points.

ScreenshotScreenshot

Converts the paths in a SVG to a list of points.
Paths are interoplated into a set of points.
- Paths can be sampled at set distances.
- Composable in a Unix style
- Fast performance.

svg2pts 0.1.3
Converts all paths in a svg to a list of points. Paths
with no stroke nor fill are ignored. Output is a sequence of points, X Y\n. 
USAGE:
    svg2pts [OPTIONS] [ <input> [<output>] ]
FLAGS:
    -h, --help       Prints help information
OPTIONS:
    -a, --accuracy <accuracy>    Set target accuracy for bezier curve [default: 0.1]
    -d, --distance <distance>   Set target distance between points, depends on DPI of SVG.
                                 If distance == 0.0 point distance not normalized.
                                 [default: 0.0]
ARGS:
    <input>     Input SVG file, stdin if not present
    <output>    Output file, stdout if not present

Update History

v0.1.5 (3)
13 Dec 2025, 09:47 UTC

Published1 Mar 2020, 21:10 UTC

Last updated5 Mar 2020, 19:49 UTC

First seen13 Dec 2025, 09:47 UTC