Command-line export to plain svg

Post questions on how to use or achieve an effect in Inkscape.
pelle
Posts: 53
Joined: Wed Mar 05, 2008 8:23 am

Command-line export to plain svg

Postby pelle » Tue Jul 01, 2008 3:46 am

Any suggestions on why I can not make export to plain svg work from command-line? Exact same command-line but with --export-png works as expected.

$ inkscape -i r1c -j --export-plain-svg=scenarios/r1c.svg scenarios/b2.svg
Exporting only object with id="r1c"; all other objects hidden

** (inkscape:27847): WARNING **: No export filename given and no filename hint. Nothing exported.



$ inkscape -i r1c -j --export-png=scenarios/r1c.png scenarios/b2.svg
Exporting only object with id="r1c"; all other objects hidden
Background RRGGBBAA: ffffff00
Area -0.55:617.83:63.4071:681.787 exported to 64 x 64 pixels (90 dpi)
Bitmap saved as: scenarios/r1c.png

User avatar
aho
Posts: 180
Joined: Sun Nov 04, 2007 9:51 am
Contact:

Re: Command-line export to plain svg

Postby aho » Wed Jul 02, 2008 12:27 am

The -i and -j switches only work with PNG export, I'm afraid. Same goes for other switches such as -d or -a.

pelle
Posts: 53
Joined: Wed Mar 05, 2008 8:23 am

Re: Command-line export to plain svg

Postby pelle » Wed Jul 02, 2008 6:31 am

Ok. I started to suspect that. Something planned for future releases perhaps?


Return to “Help with using Inkscape”