

It takes about 20 min, and the output file is 800 MB large. With little CPU utilization and a lot of HDD activity. Running the above command for 20 2MB files creates nearly 2 GB temp files and then runs extremely slowly RsionStrategy=/LeaveColorUnchanged -dEncodeColorImages=false -dEncodeGrayImages=false -dEncodeMonoImages=false pdfmark gswin32c.exe -dBATCH -dNOPAUSE -o temp.pdf -sDEVICE=pdfwrite -dPDFSETTINGS=/prepress -dColorConve I tried the command above (without removing pages) on some real life files, and it is running very slowly. I am not sure if this is necessary or a good idea. To merge, I use the command from this excellent answer. How can I combine this with the merging process, so that I don't need to run each file twice through gs?

I only want to do lossless compressions, consolidate fonts etc.īefore merging, I'd like to remove the first and last page of each document. I'd like to concatenate pdf documents without loosing any information (image resampling etc.).
