Page 1 of 1

Batch TIF to PDF

Posted: 2019-10-09T11:51:12-07:00
by TheSkymanDC
Greetings - complete noob here with a few questions.

I have been tasked with creating a batch process that converts all the files in a folder from .tif to .pdf. It is a one-to-one file conversion.


The problems I've run into so far:

1. Unable from the command line to execute magick *.tif *.pdf - I get "...error unable to open image '*.pdf'...."
How can I automatically create an output file with the same name but new format/extension.

2. When converting a tif that contains multiple pages each page is saved to a separate pdf.
Is there a way to have IM create a multi-page pdf instead. I have tried the -adjoin but it doesn't help.

Thanks in advance for you help and patience.


Re: Batch TIF to PDF

Posted: 2019-10-09T12:28:56-07:00
by TheSkymanDC
OK - it seems that if I specify the exact output file name then only one pdf is created even for a "multi-page" tif.


Re: Batch TIF to PDF

Posted: 2019-10-09T15:10:34-07:00
by snibgo
I suggest you use "magick mogrify". See

Re: Batch TIF to PDF

Posted: 2019-10-18T09:06:42-07:00
by TheSkymanDC
Thanks! Magick Mogrify worked.