Export multiple IDs to PNG in commandline

Post questions on how to use or achieve an effect in Inkscape.
saardrimer
Posts: 2
Joined: Sun Jan 27, 2013 11:39 pm

Export multiple IDs to PNG in commandline

Postby saardrimer » Sun Jan 27, 2013 11:50 pm

I am attempting to export multiple IDs into a PNG file with the following command:

Code: Select all

inkscape --without-gui --file=foobar.svg --export-png=foobar.png --export-dpi=600 --export-id-only --export-id=foo --export-id=bar

However, only the last --export-id (namely, 'bar' in the above) gets exported. Is there a way to export multiple IDs?

A related question is whether it is somehow possible to export by layer instead of by ID.

Thanks for the help.

gmoe
Posts: 1
Joined: Wed Feb 17, 2016 8:09 pm

Re: Export multiple IDs to PNG in commandline

Postby gmoe » Wed Feb 17, 2016 8:14 pm

Hey,

are there any solutions? I'am facing the same problem.

Thanks for your help!

Moini
Posts: 3381
Joined: Mon Oct 05, 2015 10:44 am

Re: Export multiple IDs to PNG in commandline

Postby Moini » Thu Feb 18, 2016 2:23 am

Maybe it works if you use the id of the layer? Didn't try, but it's just a group, so it might work.
Something doesn't work? - Keeping an eye on the status bar can save you a lot of time!

Inkscape FAQ - Learning Resources - Website with tutorials (German and English)

answerquest
Posts: 1
Joined: Tue Feb 20, 2018 9:33 pm

Re: Export multiple IDs to PNG in commandline

Postby answerquest » Tue Feb 20, 2018 9:40 pm

I found a bug filed for this here: https://bugs.launchpad.net/inkscape/+bug/171476 Allow several -i (--export-id=ID) options. Give it some love, folks!


Return to “Help with using Inkscape”