Re: Read SVG files - extracting the path

donn <[email protected]>
Newsgroups gmane.comp.python.image
Message-ID <[email protected]>
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  -  [email protected]
http://mail.python.org/mailman/listinfo/image-sig
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.