I remember back in '00 when Zahed wrote:
> I am looking for a way to convert my PostScript files into "regular" image
> files. Is there an postscript interpreters available that outputs to
> slides for Persuasion, FrameMaker or PageMaker? I would like to get
> uniform templates and sizes for slides and overheads.
>
> I am wondering if GNU provides any Ghostscript interpreter for this kind
> of conversions.
Ghostscript does indeed do PostScript translation to raster image formats
like TIFF PCX and JPEG, some of which may be useful to you.
Here's a command line assuming you have the GostSCript interpreter
gs installed on your box:
gs -sDEVICE=tifflzw -sOutputFile=graph.tif -r100 graph.ps
This is writing an LZW encoded TIFF file (I think that's an OK TIFF
format), to graph.tif from graph.ps at 100 dpi.
You can also specify the pixel dimensions rather than the DPI of the
output, e.g.
gs -sDEVICE=tifflzw -sOutputFile=graph.tif -g512x384 graph.ps
For converting multiple page PostScript, there is even a handly little
trick:
gs -sDEVICE=tifflzw -sOutputFile=report.%d.tif -r150 report.ps
will generate report.1.tif for the first page, report.2.ps for the second,
etc.
(BTW all of these are untested but I have used GS for this purpose
before so feel free to report any bizarreness)
Getting GS to output pretty raster images with (e.g.) antialiasing
can be tricky and I can't remember how to do it off the top of my
head... Anyone wanna help?
Matt
--
/* Matt Sayler || [EMAIL PROTECTED] || http://www.thewalrus.org
"RFC 882 put the dot in .com" -- Christian Bauernfeind */
---------------------------------------------------------------------------
Send administrative requests to [EMAIL PROTECTED]