[Gsview] convert ps to jpeg

Russell Lang gsview at ghostgum.com.au
Mon Jul 5 06:00:54 PDT 2004


Jonas,

> I tried to convert a postscript picture to jpeg. The page format of the
> ps-file is "landscape". The format of the .jpeg ist "portrait". So I have=
>  to
> turn every picture for 90 degrees.
> Does anyone know how to avoid this problem?

>From the ghostscript command line:
  gs -c "<< /Orientation 3 >> setpagedevice" -f colorcir.ps
Depending on which way you want to rotate it, you may need 
Orientation 1.  Next step is to set the page size appropriately.  If 
it is an EPS file, just add -dEPSCrop just after the -f.

GSview doesn't have any GUI way of doing this.
On the GSview "Convert" dialog add the following to the Options 
field:
-c "<< /Orientation 3 >> setpagedevice" -f 


Russell Lang                   gsview at ghostgum.com.au
Ghostgum Software Pty Ltd      http://www.ghostgum.com.au/




More information about the Gsview mailing list