[olug] convert tif to pdf
Ryan O'Rourke
ryano at ch-gifts.com
Mon Sep 22 18:18:05 UTC 2003
Sorry, I forgot to mention that "convert" didn't do a very good job with
multi-page tif to pdf either. That's why I chose the "tif --> ps -->
pdf" route.
YMMV.
-- Ryan
On Mon, 2003-09-22 at 13:13, Daniel Pfile wrote:
> Why not use convert's native pdf support?
>
> On Monday, September 22, 2003, at 01:03 PM, Ryan O'Rourke wrote:
>
> > Here's a "Linux Tip" for y'all.
> >
> > Let's say you work in an office that uses lots of .tif document files
> > and you want to convert them to .pdf files.
> > In a directory full of tiffs you can do:
> >
> > for i in *.tif; do convert $i `basename $i .tif`.ps; done
> > for i in *.ps; do ps2pdf $i `basename $i .ps`.pdf; done
> >
> > This will first convert each tiff file to a postscript file of the same
> > name and finally convert each postscript file to a pdf, again keeping
> > the same original filename.
> >
> > There is also a utility called "tiff2ps" that you can use to convert
> > tif
> > to ps, but I've found that when the tif is multi-page you only end up
> > with the first page in your ps file. So "convert" seems to work a
> > little
> > better.
> >
> > -- Ryan
> >
> >
> >
> > _______________________________________________
> > OLUG mailing list
> > OLUG at olug.org
> > http://lists.olug.org/mailman/listinfo/olug
>
> _______________________________________________
> OLUG mailing list
> OLUG at olug.org
> http://lists.olug.org/mailman/listinfo/olug
More information about the OLUG
mailing list