2.2.5.24 wscn:ColorWKVType

The wscn:ColorWKVType type defines an enumerated list of built-in type xs:NMTOKEN (as specified in [XMLSCHEMA1] and [XMLSCHEMA2]) that represent the predefined (or well-known) values of color processing mode supported by the scan device. Each keyword describes the data type/encoding, bit depth, and bits per channel. The table below illustrates how the keywords map to the color processing properties.

ColorWKVType Keyword

Pixel Bit Depth

Bits Per Channel

BlackandWhite1

1

1

Grayscale4

4

{4}

Grayscale8

8

{8}

Grayscale16

16

{16}

RGB24

24

{8,8,8}

RGB48

48

{16,16,16}

RGBa32

32

{8,8,8,8}

RGBa64

64

{16,16,16,16}

 <xs:simpleType name="ColorWKVType">
    <xs:restriction base="xs:NMTOKEN">
       <xs:enumeration value="BlackAndWhite1"/>
       <xs:enumeration value="Grayscale4"/>
       <xs:enumeration value="Grayscale8"/>
       <xs:enumeration value="Grayscale16"/>
       <xs:enumeration value="RGB24"/>
       <xs:enumeration value="RGB48"/>
       <xs:enumeration value="RGBa32"/>
       <xs:enumeration value="RGBa64"/>
    </xs:restriction>
 </xs:simpleType>

Value

Description

BlackAndWhite1

Black and White images, 1 bit per pixel and a single channel

Grayscale4

Grayscale images, 4 bits per pixel and a single channel

Grayscale8

Grayscale images, 8 bits per pixel and a single channel

Grayscale16

Grayscale images, 16 bits per pixel and a single channel

RGB24

RBG encoded color images, 24 bits per pixel divided between 3 channels of 8 bits each

RGB48

RBG encoded color images, 48 bits per pixel divided between 3 channels of 16 bits each

RGBa32

RBG encoded color images with an alpha channel, 32 bits per pixel divided between 4 channels of 8 bits each

RGBa64

RBG encoded color images with an alpha channel, 64 bits per pixel divided between 4 channels of 16 bits each