- Python and Perl 5 (both come with any modern linux/unix operating system).
- Scour – an SVG scrubber. Install pip and then install Scour with
pip install scour
.
Export your graphics in plain SVG format with, for example, Incscape.
Open the folder where your files are located with terminal and run the following snippet: