This property sets the number of bits per pixel in the scanned image.

[Visual Basic] Public Property BitDepth As Integer
[C#] public int BitDepth {get; set;}

Property Value

When the Pixeltype property is BW, the BitDepth is 1

When the Pixeltype property is Gray, the BitDepth is 4, 8, 12, 14, or 16

When the Pixeltype property is RGB, the BitDepth is 24, 36, 42, or 48

When the Pixeltype property is Palette, the BitDepth is 4 or 8

When the Pixeltype property is Automation, the BitDepth is 24

Retrieve only

Explanation

The BitDepth property sets the number of bits per pixel in the scanned image. This property is only enabled when the UserInterface property is Suppress. Note: If a digital camera image or other scan device does not support this functionality, then this property is disabled.

To retrieve the range of possible bit depth settings for a scan device, execute the GetBitDepth method. When scanning in 12, 14, 16, 36, 42, or 48 bit color, please set the Transfer property to Memory. If an error is returned for a value that the scan device is supposed to support, please set 0 into the BitDepth property in which case the bit depth default value indicated by the PixelType property will be used.

See Also

Scan Members | Newtone.ImageKit.Wpf.ImageKit

The ImageKit WPF is created by Newtone Corporation