GetOptimizationWorkers

Optimisation, performance

Description

Returns the worker limit configured for image optimisation and Flate stream recompression

Syntax

Delphi

Function TPDFlib.GetOptimizationWorkers: Integer;

Return values

0Automatic selection from the available processor count
1Serial execution
2 through 64The configured maximum worker count

See also

SetOptimizationWorkers, OptimizeImages, RecompressStreams