Edit/convert SVG image data

Many of the graphics on the site are in the SVG (scalable vector graphics) format. Those graphics are directly embedded into the page code, which for that purpose is served as XML. For some of the pages, separate SVG files are linked for download.

If your browser does not support SVG content (current versions of Safari, Chrome and Firefox do), you may use the graphics by either downloading the file versions, or (if desperate ...) by extracting the SVG code part(s) from the page source and saving them as SVG file(s). Adobe Illustrator should be able to handle those files; we recommend Incscape (free + open source) for SVG editing.

Incscape can be run from command line for file conversions. Here is an example for using the standard binary install on Mac OS X to convert an heatmap SVG into an high resolution PNG:

/Applications/Inkscape.app/Contents/Resources/bin/inkscape heatmap.svg --export-dpi=300 --export-png=heatmap_converted.png --export-background=#ffffff

This obviously can be enhanced by putting a link to the binary into your path etc.