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
PDF to TIFF Error
Re: PDF to TIFF Error
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
Re: PDF to TIFF Error
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
EDIT: I just tested that command limiting the memory and the map to 1mb and it did not work. Any suggestions?
Thanks again,
Thiago
Re: PDF to TIFF Error
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
Is there anyway how to do this in a SINGLE command?
Thanks
Re: PDF to TIFF Error
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