Take the 2-minute tour ×

How can I rotate an image with ghostscript? I am visualizing eps to screen. I am using the command:

gs image.eps
share|improve this question

1 Answer 1

up vote 1 down vote accepted

try this way:

gs -dEPSCrop -c "<</Orientation 1>> setpagedevice" -f input.eps -c quit

P.S this code snippet come from this post in the rhinocerus forum.

share|improve this answer
I have never understood what is '-c quit' for –  simona Jan 9 '13 at 15:00
@simona, "-c" executes a postscript command. The last "-c" option in the example executes "quit" command and ends the postscript elaboration. If you omit it, you'll obtain a ghostscript prompt waiting for a command. –  andcoz Jan 11 '13 at 21:49

Your Answer


