Re: [Image-SIG] Read SVG files - extracting the path

2010-11-09 Thread Yury V. Zaytsev
On Tue, 2010-11-09 at 12:51 +0200, donn wrote: > OTOH, you can use Inkscape's command-line to fetch and render and chop > and dice and flip and spin Or even Apache Batik which managed to rasterize my SVG files in finite time and with finite memory consumption that made Inkscape dump core...

Re: [Image-SIG] Read SVG files - extracting the path

2010-11-09 Thread donn
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 t

Re: [Image-SIG] Read SVG files - extracting the path

2010-11-09 Thread Fredrik Lundh
On Fri, Oct 8, 2010 at 6:59 PM, Sebastian Koblinger wrote: > Hi everybody! > > I'm new to Python as well as to this mailing list and this is my question: > > Is it possible to read a path provided by an SVG file, and based on that > path, make a selection of an image? > (Further I'd like to inver

[Image-SIG] Read SVG files - extracting the path

2010-10-08 Thread Sebastian Koblinger
Hi everybody! I'm new to Python as well as to this mailing list and this is my question: Is it possible to read a path provided by an SVG file, and based on that path, make a selection of an image? (Further I'd like to invert the selection and fill it with black.) Is that doable with PIL? AFAI