Color Resolution Flag Values

Processing options. Note that the palette and dithering options are useful only when the resulting bitmap requires a palette (when it is 8 bits per pixel or less). You can combine values when appropriate by using a bitwise OR ( | ). The following are valid values:

Value

Meaning

CRF_FIXEDPALETTE

[0x01] Use the fixed palette.

CRF_OPTIMIZEDPALETTE

[0x02] Create an optimized palette.

CRF_BYTEORDERBGR

[0x04] Use BGR color order. This flag only has meaning when going to 16 bits per pixel or higher.

CRF_BYTEORDERRGB

[0x00] Use RGB color order. This flag only has meaning when going to 16 bits per pixel or higher.