How to covert svg to eps in ghostscript

雨燕双飞 提交于 2019-12-04 04:57:36

You'll need the 'sister' application to Ghostscript, called GhostPDL. GhostPDL includes an executable named gsvg (or gsvg.exe on Windows) which can consume SVG input and output PostScript, PDF, PNG, TIFF, PPM, PBM, JPEG and some more.

You probably need to compile GhostPDL from source. Then run 2 commands:

gsvg \
  -dNOPAUSE \
  -sDEVICE=ps2write \
  -sOutputFile=my.ps \
   my.svg 

gsvg apparently doesn't support direct EPS writing. So next, run:

gs \
  -dNOPAUSE \
  -sDEVICE=epswrite \
  -sOutputFile=my.eps \
   my.ps 
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!