You can use the following ps script to convert PDF files into TIFF files:
$tool = 'C:\Program Files\gs\gs9.01\bin\gswin64c.exe' #the path to your Ghostscript program. $files_folder = 'c:\youfolderwithpdfs' $pdfs = get-childitem $files_folder -recurse | where {$_.Extension -match "pdf"} foreach($pdf in $pdfs) { $tiff = $pdf.FullName.replace('.pdf','').replace('.pdf','') + '_-_p%03d.tiff' if(test-path $tiff) { "tiff file already exists " + $tiff } else { 'Processing ' + $pdf.Name $param = "-sOutputFile=$tiff" & $tool -q -dNOPAUSE -sDEVICE=tiffg4 $param $pdf.FullName -c quit } }The script creates one Tiff file per PDF page. There are other options inGhostscript that you can use. To get Ghostscript for windows Go to http://sourceforge.net/projects/ghostscript .
Comments