uPalette

Palette options.

The following are valid values:

Value

Meaning

CRF_FIXEDPALETTE

Use the LEAD fixed palette.

CRF_NETSCAPEPALETTE

Use the fixed palette that is employed by Netscape Navigator and by Microsoft Internet Explorer.

CRF_OPTIMIZEDPALETTE

Create an optimized palette.

CRF_IDENTITYPALETTE

Insert the Windows system palette, and optimize the remaining colors.

CRF_USERPALETTE

Use the palette specified in the UserPalette property.

CRF_BYTEORDERBGR

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

CRF_BYTEORDERRGB

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

CRF_BYTEORDERGRAY

Use grayscale. This flag is only valid for 12 or 16-bit grayscale images. 12 and 16-bit grayscale images are supported in the Document/Medical toolkits only.