[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ps to gif

On Fri, 2 Jan 1998, Brandon Mitchell wrote:

> Hi everyone,
> Is there a way to convert ps (or any possible output from gnuplot) to a
> gif (or even a jpeg).  This needs to be done in a script, so command line
> programs only.

Probably you should use GhostScript to rasterize the ps file
(gs -sDEVICE=pgm or ppm, or something like this), and then cjpeg to
convert it into jpeg.
If you have any command line utility to convert rasterized formats
produced by gs (use gs --help to get information what formats does it
support) into gif, then you can get the gif file.
(However because of use LZW compression in gif files, it can be difficult
to find such a free utility)

				Wojciech Zabolotny

TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .

Reply to: