On 09/11/2010 10:39, Fredrik Lundh wrote:
Yet another alternative would be to look for some SVG rendering tool
Have a look at python-cairo and python-rsvg. Rsvg on its own will render an svg (or any svg xml string passed, you can also specify by id) to an image. Cairo comes in when you want to do more custom stuff. To get an actual image file out of rsvg ... I'm rusty, but you'd need a Cairo context that gets rendered-into (by rsvg) and then you'd save that context to a file.
OTOH, you can use Inkscape's command-line to fetch and render and chop and dice and flip and spin ....
\d _______________________________________________ Image-SIG maillist - Image-SIG@python.org http://mail.python.org/mailman/listinfo/image-sig