Color document filter. This filter is a good starting point for most use cases.

Constructors

Properties

_type: "ColorDocumentFilter"
colorEnhancement: number

Strength of color saturation enhancement. Typical values are between 0 and 1, although higher values are possible.

Default Value

0.5;
contrastEnhancement: number

Strength of contrast enhancement. Typical values are between 0 and 1, although higher values are possible.

Default Value

0.5;
paperWhitening: number

Paper whitening strength balances color enhancement and paper color improvement. Only relevant if colorEnhancement is above 0. Typical values are between 0 and 2.

Default Value

1.0;
paperWhiteningBias: number

Paper whitening bias balances between whitening more of the paper of preserving more of the colors. Negative values will preserve more colors, positive values will whiten more of the paper. Only relevant if colorEnhancement is above 0. Typical values are between -25 and 25.

Default Value

0;

Generated using TypeDoc