| java.lang.Object | |
| ↳ | com.pdftron.pdf.Optimizer.OptimizerSettings |
A class that stores settings for the optimizer
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
OptimizerSettings()
create an OptimizerSettings object with default options
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| void |
removeCustomEntries(boolean remove_custom)
Enable or disable removal of custom entries in the PDF.
| ||||||||||
| void |
setColorImageSettings(Optimizer.ImageSettings settings)
updates the settings for color image processing
| ||||||||||
| void |
setGrayscaleImageSettings(Optimizer.ImageSettings settings)
updates the settings for grayscale image processing
| ||||||||||
| void |
setMonoImageSettings(Optimizer.MonoImageSettings settings)
updates the settings for monochrome image processing
| ||||||||||
| void |
setTextSettings(Optimizer.TextSettings settings)
updates the settings for text processing
| ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
create an OptimizerSettings object with default options
Enable or disable removal of custom entries in the PDF. By default custom entries are removed.
| remove_custom | if true custom entries will be removed. |
|---|
updates the settings for color image processing
updates the settings for grayscale image processing
updates the settings for monochrome image processing
updates the settings for text processing