Hi

There are Perl modules to manipulate SVG, but you if you want to do it through Inkscape, I can't help here.
http://search.cpan.org/modlist/Graphics

Tibo

On 10/25/07, Marcin Kasperski <Marcin.Kasperski@...2379...> wrote:

Is it possible to use inkscape (if not, something else) to do simple
SVG editing, like combining two images into one? So one can script it...

My typical use case is - I have collection of images and I need to
generate their versions on a few different backgrounds. Doing it
manually is very tedious.

With bitmaps Image::Magick works great, sth like
     $img->Read(picture);
     $img2->Read(background);
     $img2->Composite(image => $img, gravity => 'center');
     $img2->Write(output)
and I am done (here it is perl scripting, but that's not very important).

Any chance for something similar with SVG?


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Inkscape-user mailing list
Inkscape-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/inkscape-user