SegType

Flag that indicates the type of segment. Possible values are:

SEGTYPE_TEXT_1BIT_BW

[0x01] Segment is 1-bit black and white text.

SEGTYPE_TEXT_1BIT_COLOR

[0x02] Segment is 1 bit colored text.

SEGTYPE_TEXT_2BIT_COLOR

[0x03] Segment is 2 bit colored text.

SEGTYPE_GRAYSCALE_2BIT

[0x04] Segment is 2-bit grayscale.

SEGTYPE_GRAYSCALE_8BIT

[0x05] Segment is 8-bit grayscale.

SEGTYPE_PICTURE

[0x06] Segment is an image.

SEGTYPE_BACKGROUND

[0x07] Segment is a background (The most prevalent color in the document is considered to be the background color.)

SEGTYPE_ONE_COLORED

[0x08] Segment is a one color.

SEGTYPE_TEXT_2BIT_BW

[0x09] Segment is 1-bit black and white text.