Hi All

I have done a few Google searches but didn't come up with quite what I want, so I'm hoping there is someone out there that can point me in the right direction.

I am making some animations, probably in a long winded way, but for now that is all I know and I have limited time in which to do it. I have drawn every frame on a different layer, with the first layer being the background. Initially I exported to gif by switching on the first (background) layer and the layer of the frame that I want exported and then doing the export. Then I discovered the inkscape command line and with a script I can now export several layers one after another. However, I have not figured out how to export two layers to one gif so I have had to copy the background to each layer.

For the export I use the following command line instruction in my script:

inkscape --export-png=${1}-${i}.png --export-id=${i} --export-id-only --export-dpi=400 --export-area-page --export-background-opacity=1 ${1}.svg

However, this off course will only export the layer with an object id of ${i}. (I number my layers in starting at 001 and incrementing by 1 so that I can loop in a script).

Is there a way of more than one layer so that I can export layer 000 (the background) and another layer so that I don't have to copy the background onto each layer.

Any help would be greatly appreciated.

Kind Regards
Jannetta


===================================
Web site: http://www.jannetta.com
Email: jannetta@...2761...
===================================