Converting Multi-page PDF to several TIFF files

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
Thiago

Converting Multi-page PDF to several TIFF files

Post by Thiago »

Hi guys,

I was wondering if you guys could help me. I have a multipage PDF and I want to generate a TIFF per page of the original PDF. Of course the TIFF files must be an exact copy (converted) of the PDF pages.

Thanks in advance,

Thiago
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Converting Multi-page PDF to several TIFF files

Post by fmw42 »

Thiago wrote:Hi guys,

I was wondering if you guys could help me. I have a multipage PDF and I want to generate a TIFF per page of the original PDF. Of course the TIFF files must be an exact copy (converted) of the PDF pages.

Thanks in advance,

Thiago

Have you tried:

convert image.pdf image_%d.tiff

or

convert image.pdf image_%0d.tiff

to add leading zeros
el_supremo
Posts: 1015
Joined: 2005-03-21T21:16:57-07:00

Re: Converting Multi-page PDF to several TIFF files

Post by el_supremo »

convert image.pdf image_%0d.tiff

to add leading zeros
That should be:

Code: Select all

convert image.pdf image_%02d.tiff
to produce, for example, a two-digit sequence number with leading zeros so that you get image_01.tiff, image_02.tiff, etc.

Pete
Thiago

Re: Converting Multi-page PDF to several TIFF files

Post by Thiago »

Thanks a lot for quick responses guys.

It works perfectly.

Thanks again,

Thiago
Post Reply