ClearImage COM API
ClearBackground Method
CiRepair Object : ClearBackground Method
Background threshold level (range 0-100)
Description
Set background to white
Syntax
Visual Basic
Public Sub ClearBackground( _
   Optional ByVal ThrLevel As Double = 30 _
) 
Parameters
ThrLevel
Background threshold level (range 0-100)
Remarks

Scanning of documents with white background as grayscale and color typically produces off-white background on the scanned image.  This method sets all pixels brighter than the specified threshold to pure white to bring visually quality closer to the original document.

Recommended ThrLevel is 30.   Higher number causes more pixels to be set to white.

See Also

CiRepair Object  | CiRepair Members