How to hide svg in eps in ghostscript

Can you help me with a team to convert svg file from eps to ghostscript? I tried to open the svg file in Gimp, but it is very large, so it seems that gimp cannot open it or it takes too much time. I have two files that I want to convert.

Note. I did the conversion from png to svg to convert the raster to vectors, and the conversion takes up most of my system disk space (almost 2 GB). Why can I use an external cache for the command?

+7
source share
1 answer

You will need a sister application to Ghostscript called GhostPDL. GhostPDL includes an executable file named gsvg (or gsvg.exe on Windows) that can use the SVG input and output PostScript, PDF, PNG, TIFF, PPM, PBM, JPEG and some others.

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

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

gsvg does not seem to support direct EPS writing. So run:

 gs \ -dNOPAUSE \ -sDEVICE=epswrite \ -sOutputFile=my.eps \ my.ps 
+4
source

All Articles