PaletteFlags property (ILEADRasterThumbnail)

Visual Basic example

Visual C++ 5.0 example

 

Syntax

ThumbnailColorResPaletteConstants PaletteFlags

Overview

Refer to Thumbnail Browser.

Remarks

Indicates the palette option or color order that should be used when both ForceSize and MaintainAspect are True and the source image is not 24-bit. In this case, the thumbnail image is converted to 24-bit, then, combined with a "background" bitmap. Then, the resulting bitmap is returned to the thumbnail image's original bit-depth using this setting.

Possible values are:

Setting

Description

THMB_CRP_FIXEDPALETTE

Use the LEAD fixed palette.

THMB_CRP_NETSCAPEPALETTE

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

THMB_CRP_OPTIMIZEDPALETTE

Create an optimized palette.

THMB_CRP_IDENTITYPALETTE

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

THMB_CRP_BYTEORDERBGR

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

THMB_CRP_BYTEORDERRGB

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

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

See Also

Elements:

BrowseDir method, DitherFlags property, InfoBits property, ThumbnailBitsPerPixel property, ForceSize property, MaintainAspect property, ColorRes method (ILEADRasterProcess)

Topics:

Raster Images: Using the Thumbnail Browser