gif to ps (or pdf) - any ideas?

Hideyuki KURASHINA rushani at bl.mmtr.or.jp
Mon Jan 12 12:31:30 UTC 2004


Hi,

>>> On Sun, 11 Jan 2004 23:59:51 +0000, Josef Karthauser <joe at 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



More information about the freebsd-doc mailing list