Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Dec 1998 21:45:05 +0100 (CET)
From:      Robert Brive <brive@mail.dotcom.fr>
To:        freebsd-doc@FreeBSD.ORG
Subject:   Re: How do I convert PostScript to .gif?
Message-ID:  <199812212045.VAA02348@cergy1-1.isdnet.net>
In-Reply-To: <19981221174907.F24125@freebie.lemis.com> from Greg Lehey at "Dec 21, 1998  5:49: 7 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
> On Sunday, 20 December 1998 at 17:23:59 +1030, Greg Lehey wrote:
> ...
> The solution I chose was to find a convenient resolution (in my case,
> about 200 dpi) and use that to convert to a ppm file.  The files are
> *ridiculously* large, about 50 MB for a relatively small image, and by
> default Ghostscript uses /tmp as its temporary directory.  You can
> override the directory with the TEMP environment variable, so what I
> finally wrote was:
> 
>   $ TEMP=. gs -sDEVICE=ppm -r200x200 pic2.ps
> 
> Greg

Perhaps you could use pgm instead of ppm if you are with gray scale (the
tempfile is 3 times smaller), ppmtogif will read also read pgm files.

-- 

	Robert Brive  <brive@mail.dotcom.fr>

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199812212045.VAA02348>