TIFF to PDF (slightly OT, but for a good cause :-))

From: Doc <doc_at_mdrconsult.com>
Date: Sun Jul 13 22:01:32 2003

Robert Krten wrote:
> Any volunteers? Suggestions for *free* software than runs on FreeBSD or, worst
> case, Windoze?

   I can do that. Framemaker w/Acrobat imports images and prints to PDF
quite nicely.

   The PDFs won't be searchable, though....

   Or, if you want to do it yourself, it's fairly simple in Unix. You
need tifftopnm, pnmtops, and ps2pdf. I don't know of a way to bypass
the postscript step.

   In bash (I don't do csh, sorry):

$ ls *.tiff
  1.tiff
  2.tiff
  3.tiff

$i=1

$ for t in *.tiff
    do
     tifftopnm $t > foo.pnm
     pnmtops foo.pnm > ${i}.ps
     i=`expr $i \+ 1`
    done

$ cat *.ps >> big.ps

$ ps2pdf big.ps

   The only thing you have to watch is orientation - pnmtops will rotate
a landscape image to fit a portrait page.
Received on Sun Jul 13 2003 - 22:01:32 BST

This archive was generated by hypermail 2.3.0 : Fri Oct 10 2014 - 23:36:05 BST