
Cropping SVGs in a Text Editor
I have known for a long time that SVG images are vector based, hence the name “Scalable Vector Graphics”. But it only occurred to me today that SVG is an XML-based image format, which means they can be opened and modified as a regular text file. For the MishMash application, we used PDF versions of the figures (which worked well when writing in LaTeX). However, as I am now working on the first web page for MishMash, I discovered that we have SVG versions of the figures. Unfortunately, the files provided by the designers had a lot of white space (or, to be precise, transparency) around the main part of the figure. ...