-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Erik tossed this interesting tidbit my way:
http://codewideopen.blogspot.com/2008/09/inkscape-shell-patch.html
Inkscape can already be used on the command-line to do SVG to PNG conversions, but there's some folks working on patches to allow a single process to accept multiple requests over time. This may confer a performance advantage, avoiding startup costs, but I haven't seen any stats.
Currently we use the GNOME librsvg library for our SVG rasterizations; it's fairly fast and of course built for embedded rasterization, but it's traditionally been a bit behind on bug and feature implementation, so some files don't render correctly.
I think we're currently a few versions behind on librsvg, so probably an upgrade would help a lot, but we still toss around the idea of just shelling out to Inkscape.
Anybody interested in doing a sample run of known-bad-on-rsvg SVGs with the latest rsvg to compare against inkscape, and maybe some performance stats comparing rsvg, inkscape, and these experimental batch mode inkscapes? Should be fun! :D
(You'll find lots of examples of not-rendering-right files on our bugzilla -- search for SVG!)
- -- brion