RETAINCOLOR Enumeration |
Namespace: Kofax.OmniPageCSDK.IproPlus
Member name | Value | Description | |
---|---|---|---|
RETAINCOLOR_NO | 0 | All the resulting items contain a white background and a black foreground color. | |
RETAINCOLOR_YES | 1 | The real color of the given item is used in the result. This is the default value. | |
RETAINCOLOR_INVERTED | 2 | The color of the given item is determined in the BW image of the page (II_BW). |
The recognition result can contain color information about letters, lines, frames, etc. The retain color setting indicates whether the color information from the image is used or not.
The page layout decomposition and recognition are faster when color is not retained, but the result of zoning may be worse (e.g. an indistinct graphic may vanish or zones with different background colors may be merged).