[Image-SIG] vector graphics Q

Paul Moore p.f.moore at gmail.com
Sun Oct 16 14:54:19 CEST 2005


On 10/16/05, Dmitry (Dima) Strakovsky <dima at shiftingplanes.org> wrote:
> Fredrick does your lib work with SVG?

I believe that PIL is for bitmap images only, and as such, SVG isn't
supported. If you look in the appendix "Image File Formats" of the PIL
handbook (http://www.pythonware.com/library/pil/handbook/index.htm)
you'll see that SVG isn't documented as being supported.

> Is there a library out there that is particularly nice (has
> resize,rotate,copy,paste type functions)for working with SVGs?

I also have some interest in vector graphics processing. (Although
it's fairly casual so far).

One specific thing I would like to be able to do is to take a bitmap
format of a line image (a scanned copy of a line drawing, to be
specific) and convert it to vector format. I realise that this isn't a
trivial task (edge detection, and so on) but are there any tools or
libraries that will do this? I haven't found any support in PIL for
this, but maybe I've missed something...

Thanks,
Paul.


More information about the Image-SIG mailing list