
I'm creating a large number of icons in a single SVG file and I'd like to export them to seperate PNG file. The export to PNg extension is great for that - but I'd like to know if there is a way to limit the export to only part of the groups in the file, say only the selected ones or only on a single layer.
cheers, Michael

On Mon, Feb 05, 2007 at 01:33:17PM +0000, Michael Grosberg wrote:
I'm creating a large number of icons in a single SVG file and I'd like to export them to seperate PNG file. The export to PNg extension is great for that - but I'd like to know if there is a way to limit the export to only part of the groups in the file, say only the selected ones or only on a single layer.
Yes. You didn't mention if you're trying to do this from the commandline or interactively, but it's possible to do it either way.
Interactively, look at the top of the export dialog, and you'll see options to export "selection", which limits the png creation to what you have selected.
From the commandline, try the --export-id=ID option, or --export-area.
The the inkscape man page for more info if you're doing this.
Hope this helps, Bryce

Bryce Harrington <bryce@...125...> writes:
On Mon, Feb 05, 2007 at 01:33:17PM +0000, Michael Grosberg wrote:
I'm creating a large number of icons in a single SVG file and I'd like to
export
them to seperate PNG file. The export to PNg extension is great for that-but I'd like to know if there is a way to limit the export to only part of the groups in the file, say only the selected ones or only on a single layer.
Yes. You didn't mention if you're trying to do this from the commandline or interactively, but it's possible to do it either way.
Interactively, look at the top of the export dialog, and you'll see options to export "selection", which limits the png creation to what you have selected.
thanks for the answer, but I was actually talking about the "export groups to PNG" extension, not the export bitmap dialog. I see now that I dropped the word "groups" there - my bad. What I needed was to find a way to export only some of the groups in the document instead of all of them. I had many groups inthe same document and the extension created a massive amount of unneeded files when I ran it.
Anyway I found a workaround, I temporarily grouped everything I didn't need as a PNG file before export, which left me with only a single file to delete after export.
participants (2)
-
Bryce Harrington
-
Michael Grosberg