pdfimagetiff

Best way to convert pdf files to tiff files


I have around 1000 pdf filesand I need to convert them to 300 dpi tiff files. What is the best way to do this? If there is an SDK or something or a tool that can be scripted that would be ideal.


Solution

  • Use Imagemagick, or better yet, Ghostscript.

    http://www.ibm.com/developerworks/library/l-graf2/#N101C2 has an example for imagemagick:

    convert foo.pdf pages-%03d.tiff
    

    http://www.asmail.be/msg0055376363.html has an example for ghostscript:

    gs -q -dNOPAUSE -sDEVICE=tiffg4 -sOutputFile=a.tif foo.pdf -c quit
    

    I would install ghostscript and read the man page for gs to see what exact options are needed and experiment.