I have multipage PDF eg. ~ 80 pages
gs -dNumRenderingThreads=2 -c 30000000 setvmthreshold -f -dNOGC
-sDEVICE=jpeg -q -dSAFER -dNOPAUSE -dBATCH -dMaxBitmap=100000000
-dJPEGQ=100 -r300 -dPDFFitPage -dFIXEDMEDIA
-sDEFAULTPAPERSIZE=a4 -sOutputFile='.$output_name.'temp%04d.jpg $input_file
First was trying to split whole pdf but its start to show error invalidfileaccess in –showpage …
File is ok because first i check if it’s exists
Now i chunk pdf to 10 pages pdf but still is the same problem and after i run chunked pdf in loop its removeing the file with error and all others files from loop
Problem sloved there was strange situation with TMP DIR need to be foreach export TMP diffrent dir