3-Heights® PDF Optimizer Service
Total Page:16
File Type:pdf, Size:1020Kb
User Manual 3Heights® PDF Optimizer Service Version 6.18.0 Contents 1 Introduction ........................................................................ 4 1.1 Description .......................................................................... 4 1.2 Functions ........................................................................... 4 1.2.1 Features ......................................................................... 5 1.2.2 Formats ......................................................................... 6 1.2.3 Conformance .................................................................... 6 1.3 Service .............................................................................. 6 1.4 Operating Systems .................................................................... 6 2 Installation ......................................................................... 7 2.1 Overview ............................................................................ 7 2.2 Windows ............................................................................ 7 2.3 Uninstall ............................................................................ 7 2.4 Color Profiles ......................................................................... 7 2.4.1 Default Color Profiles .............................................................. 8 2.4.2 Get Other Color Profiles ............................................................ 8 2.5 Note about the Evaluation License ....................................................... 8 3 License Management ................................................................. 9 3.1 License Features ..................................................................... 9 4 Getting Started ..................................................................... 10 4.1 Configuration ....................................................................... 10 4.1.1 Retrieve Information about Available Options and Settings .............................. 10 4.2 Managing the Service ................................................................ 11 4.2.1 State Diagram of the Service ....................................................... 12 4.3 Using the Service .................................................................... 13 4.4 Log Files ........................................................................... 13 5 Optimization Process ................................................................ 14 5.1 How to Optimize PDF Documents ....................................................... 14 5.1.1 Identify Target Application Area .................................................... 14 Web ....................................................................... 14 Printing .................................................................... 14 Archiving ................................................................... 15 Scanned Documents ......................................................... 15 Special Requirements ......................................................... 15 5.1.2 Using Optimization Profiles ........................................................ 15 5.2 Optimizing Images ................................................................... 16 5.2.1 Supported Image Compression Types ............................................... 16 No Compression (Raw) ........................................................ 16 DCT (JPEG) ................................................................. 17 Flate (ZIP) .................................................................. 17 LZW ....................................................................... 17 CCITT Fax Group 3 and 4 ...................................................... 18 JBIG2 ...................................................................... 18 JPEG2000 .................................................................. 19 5.2.2 Relevant Factors for the File Size .................................................... 19 5.2.3 Provided Features for Optimizing Images ............................................. 20 © PDF Tools AG – Premium PDF Technology 3Heights® PDF Optimizer Service, September 16, 2021 | 1/56 5.2.4 Mixed Raster Content (MRC) Optimization for Images ................................... 21 Phase 1: Cutting out Pictures ................................................... 22 Phase 2: Separation into Layers ................................................. 22 Phase 3: Reconstruction ....................................................... 23 5.3 Optimizing Fonts .................................................................... 23 6 Interface Reference ................................................................. 24 6.1 Service Control Commands ............................................................ 24 6.1.1 a Pause Service ................................................................ 24 6.1.2 c Create Service ............................................................... 24 6.1.3 d Delete Service ............................................................... 24 6.1.4 i List the Usage ............................................................... 24 6.1.5 o Continue Service ............................................................. 25 6.1.6 q Query Current Status of Service ................................................. 25 6.1.7 s Start Service ................................................................. 25 6.1.8 t Stop Service ................................................................. 25 6.1.9 x Run as Executable ............................................................ 25 6.2 Configuration options ................................................................ 26 6.2.1 Configuration File pdfoptimizesvr.ini ................................................ 26 Autodelete of Successfully Processed Files ........................................ 26 Job Number Prefix ........................................................... 27 Logpath .................................................................... 27 Polling Interval .............................................................. 28 6.2.2 w Specify the Path to the Root Directory ............................................ 28 6.2.3 wd Specify the Drop Path ........................................................ 28 6.2.4 wfi Ignore Files with Certain Extensions ........................................... 29 6.2.5 wfs Process only Files with Certain Extensions ...................................... 29 6.3 Profile Settings ...................................................................... 29 6.4 Optimization Options ................................................................ 32 6.4.1 c Set the Color Conversion ....................................................... 33 6.4.2 cff Compress Type1 fonts (convert to CFF) ......................................... 33 6.4.3 cms Set the Color Management Engine ............................................ 33 6.4.4 Resolution Values per Image Type ................................................... 34 6.4.5 Threshold Values per Image Type ................................................... 35 6.4.6 dr Resolution in DPI ............................................................ 35 6.4.7 dt Threshold in DPI ............................................................ 36 6.4.8 fb Compression Types for Bitonal Images .......................................... 36 6.4.9 fc Compression Types for Color and Grayscale Images ................................ 37 6.4.10 ff Force ReCompression ....................................................... 38 6.4.11 fi Compression Types for Indexed (Paletted) Images ................................. 38 6.4.12 ft Force Compression Types ..................................................... 39 6.4.13 fv Minimum PDF Version ........................................................ 39 6.4.14 h Dithering Mode for BiTonal Images .............................................. 39 6.4.15 id Set Value in the Document Information Dictionary ................................ 40 6.4.16 m Merge Embedded Font Programs ................................................ 40 6.4.17 ml Compression Type for MRC Layers .............................................. 40 6.4.18 mlq Image Quality for MRC Layers ................................................ 41 6.4.19 mlr Resolution in DPI for MRC Layers .............................................. 41 6.4.20 mm Compression Type for the MRC Mask ............................................ 41 6.4.21 mp Compression Type for MRC CutOut Pictures ...................................... 41 6.4.22 o Owner Password ............................................................. 42 6.4.23 oc Clip Images ................................................................ 42 © PDF Tools AG – Premium PDF Technology 3Heights® PDF Optimizer Service, September 16, 2021 | 2/56 6.4.24 od Optimize Resources .......................................................... 42 6.4.25 ol Linearize Only .............................................................. 42 6.4.26 or Remove Redundant Objects ................................................... 43 6.4.27 ow Optimize for the Web ........................................................ 43 6.4.28 owa Automaticall Optimize for the Web ............................................ 43 6.4.29 p Permission Flags ............................................................. 44 6.4.30 pr Set an Optimization Profile ...................................................