On 4/22/05, aaron@...749... <aaron@...749...> wrote:
Very interesting. What do you have to say about performance and memory usage when running a second instance of Inkscape from an extension script that is run by the first instance of Inkscape?
Performance is acceptable. For example my XSLT stylesheet that produces SVG tutorials runs Inkscape for every paragraph and every image in the source, to determine their height and layout the page accordingly. The total is 69 runs for basic tutorial, and the stylesheet takes 26 seconds to finish.
to mind the first time someone mentioned making an extension out of svgslice. Will the memory usage double, because the document is being parsed into memory twice?
Not really double, because the UI and renderer are not initialized when run from command line. I think they take more memory than the document itself.
Are options really to follow the filename, as in your examples?
The order does not matter.
I can see how this sort of query will be very useful to extensions.
Yes, that's why I added them :)