5

I have a question from experts in using Ghostscript. I am new in using this software. How can I change the format of an image from PS to EPS using Ghostscript?

Kurt Pfeifle
  • 13,079
Zahra
  • 51
  • 2

1 Answers1

3

I assume you are using a very recent version of Ghostscript. It so, run this command:

gs -o output-%00d.eps -sDEVICE=eps2write input.ps

For more ancient versions, use

gs -o output-%00d.eps -sDEVICE=epswrite input.ps

Note that EPS by design is and may only be single-page document format.

So if your single file input.ps consists of multiple pages, your output will consist of multiple EPS files ("images") which are named output-001.eps, output-002.eps, etc.

Kurt Pfeifle
  • 13,079