SVG conversion tools
svg2g currently does two things:
- It breaks multiple paths in a single element into individual discrete elements
- Optionally, it can convert these paths to bezier curves
Installation:
mkdir svg2g
cd svg2g && git clone [email protected]:dirtybirdnj/svg2g.git
- Put an .svg file in the
svg2g
directory - See usage options below
Usage:
- Convert mutlipath elements to individual paths:
index.js relativeFile.svg
- Convert line paths to bezier curves:
index.js relativeFile.svg -b