Wednesday, 2 December 2009

OmniGraffle to SVG

Lately you'd think I'm obsessed with SVG, but the truth is I'm just trying to cope with all the different diagramming tools out there and see if I can find a common format between all of them that is a standard. SVG is it. Anyway, working with Macs and all the wonderful software that they have, I've had to start looking at converting Graffle files created with OmniGraffle to SVG. The easiest way is again, converting to PDF and importing the PDF in Inkscape.

The interesting thing is that once you break out the PDF, you get all the objects and you can then fiddle around with the page. The fonts have been the one issue, as I do ask Inkscape to try to find a font similar to the one in the document, and it's not really good at doing that.

Anyway, doing a quick search on google I found graffle2svg. A pair of python scripts that will try to convert the graffle file into an SVG. In my case it didn't work since OnmiGraffle seems to have changed the format of their file format. Well, it use to be a zip file, now it's a directory.

Still, this is a good start and I look forward to trying this out and maybe helping out the developer to get it working. I'm glad to see that I'm not the only one that loves his SVG.

-P
Post a Comment