ImageMagick or GhostScript: convert a multi-page TIFF to a multi-page PDF?

Use a tool called tiff2ps from the tool set provided by libtiff: libtiff.org/tools.html Once you have the tiff in ps format, you can call ps2pdf to convert to pdf, which is part of the ghostscript package in most linux distributions.

– StackOverflowNewbie Jan 18 at 0:28 Try 'convert original. Tif output%d. Tif' and see if it splits it into multiple files.

Then in a script convert each to a postscript using Imagemagick. Then use ghostscript to print each ps file to the pdf device. – Misk Jan 18 at 0:49 what is the point of the intermediary step of converting TIFF to PS?

If I can combine multiple TIFFs into a PDF directly, should I use that approach? – StackOverflowNewbie Jan 18 at 1:35 Sure.It has been some time since I used ImageMagick, so the intermediate step was once necessary. If you can go straight in one step, as another poster has commented, do so.

Otherwise if you do encounter problems, try my suggestion. – Misk Jan 18 at 19:46 Your answer will basically work correctly. But you missed the option to use tiff2pdf directly (if you have a not-too-old libtiff).

Please update your answer accordingly. – pipitas Jan 187 at 20:38.

Convert multipage. Tiff -density 300x300 -compress jpeg multipage. Pdf This should work, though there can be some issues.

– StackOverflowNewbie Jan 18 at 0:27 @StackOverflowNewbie: When I tried it, it resulted in a multipage PDF on my version. Seems to work the same as listing the files separately. – Orbling Jan 18 at 0:33 @StackOverflowNewbie: Personally, I find IM can make a right hash of PDFs, so would probably split the TIFF using IM to single page PDFs, and use pdftk to combine them.

– Orbling Jan 18 at 0:38.

I had a similar situation of converting a multipage TIFF file. But in my case the resulting extension was JPG thumbnail. However, I believe that this following code will run for converting TIFF to PDF.

sourcecodemania.com/how-to-convert-text-... $image) { // Providing 0 forces thumbnail Image to maintain aspect ratio $image->thumbnailImage(768,0); $image->writeImage("page". $i. ".

Jpg"); echo ""; } $images->clear(); } catch(Exception $e) { echo $e->getMessage(); }? > Comments are welcome http://www.sourcecodemania.com.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions