PDF Compression: This adapter compresses PDF documents that exceed a certain size. Documents with a size below 100 KB are compressed only slightly, here the file size can hardly be reduced with the adapter.
For error-free compression of the PDF document, at least one of the following parameters must be set in the PDF Compression Adapter:
-
regularCompression -
maximumCompression -
xRefCompression -
mergeResources -
quantizewith the parametersnumColorsandalphaThreshold
Properties
|
|
Defines the operation executed by the function adapter Possible values:
|
Parameter
|
|
Main adapter class (do not change!) Possible values: de.softproject.x4.adapter.PDFCompression: Main class (Default) |
|
|
(optional) Password for encrypting the PDF document Possible values: Character string in password format |
|
|
The PDF is reduced in size using regular compression.
If only this parameter is set, low compression is to be expected.
Possible values:
|
|
|
The PDF is compressed with the maximum value. Best results are achieved in combination with the parameter
Activating this parameter can increase the runtime. For
Possible values:
|
|
|
The PDF is saved in a compressed xRef table (Cross Reference table). This option is only valid for PDFs from version 1.6 or higher and is not compatible with PDF/A-1 files.
Activating this parameter can increase the runtime. With this parameter, the file size can be reduced by 5 to 5 % if the PDF that is to be compressed has not been compressed previously with xRef Compression.
Possible values:
|
|
|
Merges duplicate resources (fonts, color spaces, bitmap images) to reduce the file size.
If the PDF file only has few resources, compression will be low. It makes sense to use this parameter if:
Possible values:
|
|
|
Quantizes images using the parameters
In some cases, the parameter
Possible values:
|
|
|
The number of colors in images in a PDF. This parameter indicates to which number the number of colors in the PDF shall be reduced to. The values must be a power of two (2n). Possible values:
|
|
|
Specifies how the transparency is to be handled. Values above 128 lead to higher transparency, values below to lower transparency. Possible values:
|
Status values
|
|
The operation has been executed successfully. |
|
|
The operation has been executed successfully, but without result. |
|
|
The adapter could not be executed. |