Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Jan 2004 21:31:11 +0900 (JST)
From:      Hideyuki KURASHINA <rushani@bl.mmtr.or.jp>
To:        joe@tao.org.uk
Cc:        doc@freebsd.org
Subject:   Re: gif to ps (or pdf) - any ideas?
Message-ID:  <20040112.213111.59485211.rushani@bl.mmtr.or.jp>
In-Reply-To: <20040111235951.GA17431@genius.tao.org.uk>
References:  <20040111235951.GA17431@genius.tao.org.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

>>> On Sun, 11 Jan 2004 23:59:51 +0000, Josef Karthauser <joe@tao.org.uk> said:

> I've got a number of gifs, which are A4 pages scanned in high
> resolution.  What I'd like to do is to compile them together as a PDF.
> Naively I initially tried using:
> 
>     for i in page*; do gif2ps $i >> out.ps; done; ps2pdf out.ps
> 
> and it works to a fashion, but gif2ps doesn't appear to produce colour
> postscript, and also it leaves a huge margin around the page which I'd
> like to reduce.  The other thing I'd like to do is to add a text message
> to the bottom of each page describing where the original came from.
> 
> Does anyone know of anything more sophisticated than gif2ps for the job?

Try

  giftopnm foo.gif | pnmcrop | pnmtops -noturn >>foo.ps

instead of gif2ps.

-- rushani



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