iPalette

Palette options. The following are valid values:

Value

Meaning

CRP_FIXEDPALETTE

Use the LEAD fixed palette.

CRP_NETSCAPEPALETTE

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

CRP_OPTIMIZEDPALETTE

Create an optimized palette.

CRP_IDENTITYPALETTE

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

CRP_USERPALETTE

Use the palette specified in the UserPalette property.

CRP_BYTEORDERBGR

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

CRP_BYTEORDERRGB

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

CRP_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.