Re: [Inkscape-user] converting svg to eps via commandline
On Sun, 2005-01-23 at 19:01 +0100, Steffen Glückselig wrote:
I'd like to convert a bunch of my svgs to eps-format automatically via the commandline. I noticed that there is no option like the one for exporting png but I found
-p PRINTER, --print=PRINTER
Print document(s) to the specified printer using `lpr -P PRINTER'. Alternatively, use `| COMMAND' to specify a different command to pipe to, or use `> FILENAME' to write the PostScript output to a file instead of printing. Remember to do appropriate quoting for your shell, e.g.
inkscape --print='| ps2pdf - mydoc.pdf' mydoc.svg
in the man-page which seems to come close. What do I have to do to get eps on a windows-system?
Well, internally the difference between printing or saving postscript and saving as EPS is a matter of how the bounding box is placed. It is something that could be done by hand somewhat easily.
It would be a really cool feature if someone implemented a command line option to the Extensions system to allow for batch conversion between any supported formats. It would be an easier enhancement for someone who wanted to get familiar with the codebase. There wouldn't be any GUI programming, or using lots of the codebase that would be required. I would be happy to help anyone that wanted to do this, it is an oft requested feature.
--Ted
participants (1)
-
Ted Gould