Reputation: 1249
I need to convert an SVG to EPS and currently use inkscape to do this.
To convert the SVG using the Inkscape GUI version, I simply open the svg, and "Save As" 'logo.eps', unselecting the "Rasterize filter effects" option.
However, I want to automate this process using the command line. Using
inkscape logo.svg -E logo.eps
works but does not disable filter rasterisation. I have done some research but can't figure out how to do this can anyone provide me the correct command? Thanks
Upvotes: 43
Views: 28466
Reputation: 1249
The command I had to use to fix this problem was
inkscape in.svg -E out.eps --export-ignore-filters --export-ps-level=3
where in.svg is your image and out.eps is the eps that comes out.
As suggested by Vladimir in comments, newer versions of inkscape doesn't have -E
option, so need to replace it with -o
.
Upvotes: 56
Reputation: 59
A bit late to the game but google brought me here
Found part of this solution on a website that needed an account. This lets you convert all the files within a folder
for file in *.svg; do inkscape "$file" -E "${file%svg}eps" --export-ignore-filters --export-ps-level=3; done
Upvotes: 4