Projects | Downloads | Tickets | KnowledgeBase | Forums | About | Search
Load:0.00 0.00 0.00
Sessions: 13
Login
User:
Pass:
Remember login:
New User | Lost Password

Case[1047]: Viewing multiple page tif on Linux

Printable View
Case
Title:Viewing multiple page tif on Linux
Number:1047
Created:09/16/2005 06:15
Created By:bemowski
Page Views:804
Status: ACTIVE
Approver:unassigned
Keywords:tif image magic imagemagick pdf efax
Related Tickets:
Detail

I recieve EFax messages as multi-page .tif attachments. I've tried viewing multiple page .tif files on Linux - with GPhoto and GIMP. GPhoto simply views 1 page - with no way to view further pages. GIMP loads the pages as layers - and there is supposed to be a way to view the other pages as layers - but if it exists, it isn't intuitive.

Enter ImageMagick. This thing rocks.

To tell if you have image magic installed on a RedHat/Fedora system, run this:
bemo@pint:/home/bemo>rpm -qa|grep -i image
xloadimage-4.1-34.FC3
vcdimager-0.7.21-0.lvn.2.4
ImageMagick-6.2.2.0-3.fc4.0


Ok - so I have image magic. Now, lets say I have a file called file.tif. To convert it to a pdf (to view all pages and print with a pdf viewer like acroread), do this:
bemo@pint:/home/bemo>convert file.tif file.pdf


ImageMagick does the rest. It knows from the file extension that you want it to be a pdf.


Well... convert from image magic is now failing badly on multiple Linux boxes. I've found another utility, included with the libtiff library called tiff2pdf. It seems to work when image magic does not.

Now, view with your pdf viewer of choice.



FC4 now includes evince - which will view multiple page tiffs and multiple page PDFs.




To take a number of single page .tif files, and concatenate them into a single joined PDF, use the image magic convert command again:
convert -adjoin `ls *.tif` expense.pdf



Add Comment


Show System Notes
User Date Comment
bemowski 09/16/2005
06:15
Copyright 2003-2007, JMatrix International