[Gsview] convert ps to jpeg

Russell Lang gsview at ghostgum.com.au
Wed Jul 7 03:23:30 PDT 2004


Ray,

Yes, -dEPSCrop should come before the -c.
It does work in this case because it is not a device parameter.

Usually EPS files use portrait orientation.  I haven't seen many 
landscape.

Russell

> Russell,
> 
> Doesn't the -dEPSCrop have to come before the -c option ?
> 
> Generally initial state paremeters that are processed in
> gs_init.ps must precede the -c option on the command line
> since this forces the 'init1' step.
> 
> If this works for EPSCrop, it is a special case among options,
> thus recommending use after the '-c' isn't a really good
> idea.
> 
> One other thing that may be useful in processing EPS files
> is to use the %%Orientation: and/or %%PageOrientation DSC
> comments as the pdfwrite device does.
> 
> Regards,
> Ray
> ______________________________________________________________
> 
> Russell Lang wrote:
> 
> > 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/
> > 
> > 
> > _______________________________________________
> > Gsview mailing list
> > Gsview at ghostscript.com
> > http://www.ghostscript.com/mailman/listinfo/gsview
> > 
> > 
> 



More information about the Gsview mailing list