Editing Inkscape SVG files with Python?

S

Steven D'Aprano

I have some SVG files generated with Inkscape containing many text blocks
(over 100). I wish to programmatically modify those text blocks using
Python. Is there a library I should be using, or any other guidelines or
advice anyone can give me?

Googling for "python inkscape" comes up with too many hits for Inkscape's
plugin system to be much help to me.


Thanks in advance.
 
M

Matej Cepl

Googling for "python inkscape" comes up with too many hits for Inkscape's
plugin system to be much help to me.

Aside from suggesting lxml, I would ask "So why not to follow the stream
and create Inkscape plugin"? I have in similar situation created a
plugin (https://gitorious.org/inkscape-ungroup-deep/) and I have to say
it wasn't that difficult and results are pretty satisfactory.

Matěj
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,982
Messages
2,570,185
Members
46,736
Latest member
AdolphBig6

Latest Threads

Top