ORPALIS PDF Reducer Professional can be fully automated through command line interface.
Bellow you will find all supported parameters of the latest available version.
Syntax:
pdfreducer.exe [parameters]
pdfreducer.exe /IF < input format(s)>
Parameters can be:
- /Min to start application with minimized window state (since PDF Reducer 1.1.7)
- /P < input folder>
- /F < input file(s)> (note: each file path is delimited by the vertical bar character '|')
- /D < destination folder>
- /T < number of threads>
- /NS (don't process sub folders)
- /DC to disable the "color detection" option
- /DR to disable the "re-compress images" option
- /DU to disable the "discard unused objects" option
- /DD to disable the "downscale images" option
- /Q (0: low, 1: Medium, 2: High, 3: Very high)
- /R (image downscale resolution)
- /DJ2K to disable the "JPEG 2000 compression" option
- /RF to remove form-fields
- /RA to remove annotations
- /RB to remove bookmarks
- /RE to remove embedded files
- /linearized to enable fast web view
- /MRC to enable MRC compression (since PDF Reducer 2.0.2)
- /KT: to keep the original last edition and access time of the input files
- /IF: to choose the document formats to process (note: each document format is delimited by the vertical bar character '|'). Supported formats are: ICO, BMP, WBMP, JPEG, GIF, PNG, TIFF, FAXG3, EXIF, EMF, WMF, JNG, KOALA, IFF, MNG, PCD, PCX, PBM, PBMRAW, PFM, PGM, PGMRAW, PPM, PPMRAW, RAS, TARGA, PSD, CUT, XBM, XPM, DDS, HDR, SGI, EXR, J2K, JP2, JBIG, PICT, RAW, WEBP, DICOM, JBIG2, MEMORYBMP, PDF, SVG, RTF, DOCX and TXT.
- /LOG: to export logs to destination folder
- /DW: to disable warning when input and output directory are identical
- /DO: to delete the original files when they are successfully reduced
- /RH: to remove the hyperlinks from a document
Example 1: reducing C:\myPdfs\input\file1.pdf and C:\myPdfs\input\file2.pdf using 2 CPU threads and saving them to C:\myPdfs\output:
pdfreducer.exe /F "C:\myPdfs\input\file1.pdf|C:\myPdfs\input\file2.pdf" /D "C:\myPdfs\output" /T 2
Example 2: reducing all documents (including sub-folders) available C:\myDocuments using 8 CPU threads:
pdfreducer.exe /P "C:\myDocuments" /D "C:\myDocuments" /T 8
The command line feature is included in the On-Premises Editions (Desktop and Server).