This property sets the type of image scanned. This property is only enabled when using a custom-built user interface.

[C++Builder]   imagekitcontrolname->Scan->PixelType[ = TVIkScanPixelType ]
[Delphi]   imagekitcontrolname.Scan.PixelType[ = TVIkScanPixelType ]

[TVIkScanPixelType Type]

Unit
     IkInit

type
     TVIkScanPixelType = (vikScanPixelBW = 0, vikScanPixelGray = 1, vikScanPixelRGB = 2, vikScanPixelPalette = 3, vikScanPixelCMY = 4, vikScanPixelCMYK = 5, vikScanPixelYUV = 6, vikScanPixelYUVK = 7, vikScanPixelCIEXYZ = 8, vikScanPixelAutomation = 1000, vikScanPixelGrayAndBW = 1001, vikScanPixelRGBAndBW = 1002);

Property Value

Value Explanation
vikScanPixelBW Black and White (1bit)
vikScanPixelGray Grayscale (4bit, 8bit, 12bit, 14bit, or 16bit)
vikScanPixelRGB RGB color (24bit, 36bit, 42bit, or 48bit). Default
vikScanPixelPalette Palette color (4bit, 8bit)
vikScanPixelAutomation Automatically detects whether scan is black & white or color (1bit or 24bit)
vikScanPixelGrayAndBW Black & white and grayscale (1bit and 8bit)
vikScanPixelRGBAndBW Black & white and RGB color (1bit and 24bit)

The ImageKit control does not support the following constants: vikScanPixelCMY, vikScanPixelCMYK, vikScanPixelYUV, vikScanPixelYUVK, vikScanPixelCIEXYZ

Explanation

The PixelType property sets the type of image scanned. The default value is vikScanPixelRGB (RGB color). This property is enabled when the UiMode is vikScanNONUI. This property is disabled for digital cameras and scanners that do not support this function. The possible setting values supported by a scan device can be retrieved using the GetCapEnumToFloat method.

The value vikScanPixelAutomation is enabled for certain Panasonic scanners (memory transfer uncompressed only) or for certain Canon DR scanners, Epson scanners, and PFU scanners. vikScanPixelGrayAndBW, and vikScanPixelRGBAndBW are enabled for certain Canon DR scanners, Panasonic scanners (memory transfer uncompressed only), Epson, or PFU scanners.

To check whether or not vikScanPixelAutomation, vikScanPixelGrayAndBW, and vikScanPixelRGBAndBW are supported by your scanner, execute the IsCapSupported method.

Setting this value

This value can be set at runtime.

Retrieving this value

This value can be retrieved at runtime.

Differences between the ImageKit7/8/9/10

In VCL the constants contain a "v". In ActiveX, the constants are: ikScanPixelBW, ikScanPixelGray, ikScanPixelRGB, ikScanPixelPalette, ikScanPixelAutomation, vikScanPixelGrayAndBW, vikScanPixelRGBAndBW

[Differences from the ImageKit7 ActiveX / VCL]

Multi-stream scanning is now possible.

[Differences from the ImageKit8 ActiveX / VCL]

Supports Epson scan driver double image output (multi-stream).

 

The ImageKit10 VCL is a product created by Newtone Corporation