Batch PDF Compression in Multi-threading mode

In All, Archived, Compress File, compress TIFF, Convert PDF, Create PDF, CVISION PdfCompressor, OCR, PDF Compression by ChrisLeave a Comment

Question: Does the API support batch PDF compression? I have a folder of PDFs, I would like to process them and produce a single PDF for each one processed? I know I can loop through the folder and process one at a time but I’m not taking advantage of multi-threading. Can this be done and still be able to take advantage of the compressors multi-threading capability?

Answer: The multithreading is controlled at the command line. Then the appropriate flag is passed multithreading will kick in. The flag for multi-threading is “-mt”. Please add that flag to the command line and that should fix the problem.

Leave a Comment