Scalable vector graphics
“SVG” to its friends
December 23, 2019 — March 1, 2024
The SVG format is the Grand Central Station of vector graphics, with branch lines to PDF or and the other compatible formats like as Adobe Illustrator, EPS and xfig.
1 pdf2svg
pdf2svg is handy in conjunction with (almost) any of the other programs to convert between vector formats.
2 AI vectorizing
Currently free, Vectorizer.AI produces high quality results.
3 potrace
The classic Potrace converts bitmap images to SVG. Apparently it is integrated into inkscape.
4 Inkscape
Open source Inkscape can do everything, although I find its Adobe Illustrator pretensions (perhaps unfairly) grating. Aimed firstly at general vector graphic design, which means the functions I want for sciency stuff are not front-and-center, but it can be done.
5 Boxy
A fresh option leveraging web technology is Jarosław Foksa’s Boxy, a web app with pseudo-desktop apps for various platforms. I think it is free, but closed source?
6 Processing
Java-based visual wrangling system processing can generate SVGs.
7 Converting formats
7.1 inkscape
7.2 pdf2svg
7.3 dvisvgm
dvisvgm converts DVI files (e.g. mathematics, tikz) to SVG.
8 Algorithmically generating
Javascript is very good at SVG wrangling. Over at javascript graphics I have a list of libraries for generating SVGs, including Two.js, snap etc.
More generally, any procedural diagram system can be converted to SVG.
Carlier et al. (2020)
SuperformulaSVG for web/jasonwebb/SuperformulaSVG-for-web: A generative line art web app using the 2D superformula, with support for SVG and raster exporting