WIA_IPA_RAW_BITS_PER_CHANNEL

The WIA_IPA_RAW_BITS_PER_CHANNEL property contains the number of bits in each color channel.

Property Type: VT_UI1 | VT_VECTOR

Valid Values: WIA_PROP_NONE

Access Rights: Read-only

Remarks

The WIA_IPA_RAW_BITS_PER_CHANNEL property should be reported as a vector that contains as many byte values as there are channels, where the first byte corresponds to the number of bits in the first channel, the second byte to the number of bits in the second channel, and so on. The vector must contain as many entries as the WIA_IPA_CHANNELS_PER_PIXEL property reports there are channels. The driver sets WIA_IPA_CHANNELS PER_PIXEL when the application sets WIA_IPA_FORMAT to WiaImgFmt_RAW.

WIA_IPA_RAW_BITS_PER_CHANNEL is similar to the WIA_IPA_BITS_PER_CHANNEL property (which is used for formats other than RAW).

The following table describes the required number of entries in WIA_IPA_RAW_BITS_PER_CHANNEL for defined WIA_IPA_DATATYPE values.

WIA_IPA_DATATYPE value Required number of entries in WIA_IPA_RAW_BITS_PER_CHANNEL
WIA_DATA_DITHER 1
WIA_DATA_GRAYSCALE 1
WIA_DATA_RAW_BGR 3
WIA_DATA_RAW_CMY 3
WIA_DATA_RAW_CMYK 4
WIA_DATA_RAW_RGB 3
WIA_DATA_RAW_YUV 3
WIA_DATA_RAW_YUVK 4
WIA_DATA_THRESHOLD 1

Requirements

Header: wiadef.h (include Wiadef.h)

See also

WIA_IPA_CHANNELS_PER_PIXEL

WIA_IPA_DATATYPE

WIA_IPA_FORMAT