This property sets the method used to reduce the bit depth when scanning in 1 bit color. This property is only enabled when using a custom-built user interface (UiMode=2).

[Visual Basic]   imagekitcontrolname.Scan.BitDepthReduction[ = BitDepthReductionConstants ]
[Visual C++]     imagekitcontrolname.GetScan().SetBitDepthReduction(long Val)
[VB.NET]   imagekitcontrolname.Scan.BitDepthReduction[ = ImageKit10(A)Lib.BitDepthReductionConstants ]
[C#.NET]   imagekitcontrolname.Scan.BitDepthReduction[ = ImageKit10(A)Lib.BitDepthReductionConstants ]

* ImageKit10ALib refers to the ANSI version, ImageKit10Lib refers to the Unicode version.

Property Value

Value Explanation
0 threshold value
1 halftone
2 custom halftone *1
3 diffusion
4 dynamic threshold

*1 This is a TWAIN setting that is not supported by the ImageKit10.

 

The following constants can be used: (ikBitDepthReductionThreshold = 0, ikBitDepthReductionHalfTone = 1, ikBitDepthReductionCustomHalfTone = 2, ikBitDepthReductionDiffusion = 3, ikBitDepthReductionDynamicThreshold = 4)

Explanation

The BitDepthReduction property sets the method used to reduce the bit depth when scanning in 1 bit color. This property is enabled when the UiMode property is 2 (ikScanNONUI) and the PixelType property is 0 (ikScanPixelBW). Note: The BitDepthReduction property is disabled when using a digital camera.

When the BitDepthReduction property is 0, the Threshold property is enabled (In some scan devices the Brightness property is enabled). When the BitDepthReduction property is 1, the HalfTone, Brightness, and Contrast properties are enabled.

To retrieve the value of the BitDepthReduction property that is supported by the scan device, please execute the ScanGetCapEnum method. In the case where the scan device does not support the BitDepthReduction functionality, but supports either Threshold or HalfTone, then set this property to 0 or 1 whichever the case may be.

Setting this value

  This value can be set at runtime.

Retrieving this value

  This value cannot be retrieved.

 

The ImageKit10 ActiveX is a product created by Newtone Corporation