PDF to TIFF Error

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
Thiago

PDF to TIFF Error

Post by Thiago »

Hi, I am currently running ImageMagick 6.4.3 Q8 on Windows Server 2003.

I am trying to convert a PDF with 500 pages to a TIFF image, but I keep getting the following error:

"convert: Error fetching directory count. `TIFFLinkDirectory'."

This occurs through the usage of the following command:

convert -colorspace RGB -density 300 foo.pdf foo.tiff

However, if I use a smaller density, like 150 everything works fine.
I`ve been reading the forum and I came accross an answer where it was said that I should use -limit Memory 1mb -limit Map 1mb, but this will slow down the process.

I was wondering if there is any way around this problem other than the limit solution.

Thanks in advance,

Thiago
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: PDF to TIFF Error

Post by magick »

Try this command and let us know if it works for you:
  • convert -limit memory 1mb -limit map 1mb -colorspace RGB -density 300 foo.pdf foo.tiff
Thiago

Re: PDF to TIFF Error

Post by Thiago »

Hi,

EDIT: I just tested that command limiting the memory and the map to 1mb and it did not work. Any suggestions?

Thanks again,

Thiago
Thiago

Re: PDF to TIFF Error

Post by Thiago »

I forgot to mention, for my specific problem I could also generate a TIFF per page of the original PDF.

Is there anyway how to do this in a SINGLE command?

Thanks
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: PDF to TIFF Error

Post by magick »

You could try to see if the command works with the latest ImageMagick release, 6.4.4-10 otherwise try converting one page at a time:
  • convert image.pdf[0] image0.tif
    convert image.pdf[1] image1.tif
Post Reply