Re: convert ps to jpeg

"Russell Lang" <[email protected]> Wed, 07 Jul 2004 20:23:30 +1000
Newsgroups gmane.comp.printing.ghostscript.gsview
Message-ID <40EC5BC2.9470.AA87A12F@localhost>
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                   [email protected]
> > Ghostgum Software Pty Ltd      http://www.ghostgum.com.au/
> > 
> > 
> > _______________________________________________
> > Gsview mailing list
> > [email protected]
> > http://www.ghostscript.com/mailman/listinfo/gsview
> > 
> > 
>