TIEAcquireParams.PixelType
Declaration
property PixelType: TIEAcquirePixelType; (Read/Write)
Description
Specifies the type of pixel data that a scanner is capable of acquiring.
Note:
◼Not supported for DCIM retrieval (i.e. when
SelectedAcquireSource.Api = ieaDCIM)
◼Passing
ieapOther as the PixelType will acquire using the default/current properties
Valid values are:
Value | Description |
ieapMonochrome | Black & white (1 bit) |
ieap8BitGrayScale | Gray scale (8 bit) |
ieap16BitGrayScale | Gray scale (16 bit) |
ieapFullColor | Full RGB (24 bit) |
ieapFullColor16 | Full RGB (48 bit) |
ieapOther | Other pixel formats (that are not supported by ImageEn) |
Note: If you set
PixelType to a value that is not supported by your device, it will be set to the closest match. You can determine what formats the device supports by using
IsPixelTypeSupported
// Acquire a black/white (1bit) image
ImageEnView1.IO.AcquireParams.PixelType := ieapMonochrome;
ImageEnView1.IO.AcquireParams.VisibleDialog := False;
ImageEnView1.IO.Acquire();
// Acquire a gray scale (8bit) image
ImageEnView1.IO.AcquireParams.PixelType.CurrentValue := ieap8BitGrayScale;
ImageEnView1.IO.AcquireParams.VisibleDialog := False;
ImageEnView1.IO.Acquire();
// Acquire a full RGB (24bit) image
ImageEnView1.IO.AcquireParams.PixelType.CurrentValue := ieapFullColor;
ImageEnView1.IO.AcquireParams.VisibleDialog := False;
ImageEnView1.IO.Acquire();
See Also
◼IsPixelTypeSupported
◼PixelType
◼BitDepth
◼WIA_IPA_BITS_PER_CHANNEL
◼WIA_IPA_CHANNELS_PER_PIXEL