I am seeing some freezing/locking in using Ghostscript 9.25 in the command prompt console. I am batch converting PDF to TIFF. It seem very sporadic but at some point during the conversion it will finish one file but then then it will freeze/lock. I will then have to kill the process and start again.

Any ideas? Here is my script

if not exist .\tif md .\tif
for /f "tokens=*" %%i in ('dir /b *.pdf') do "C:\Program Files\gs\gs9.25\bin\gswin64c.exe" -q -dNOPAUSE -dNumRenderingThreads=8 -dBATCH -r200 -sOutputFile=".\tif\%%~ni.tif" -sDEVICE=tiffg4 -dMaxStripSize=0 "%%~ni.pdf"

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.