ColorResList method (Main Control)

C++ Builder example

Delphi example

 

Builder Syntax

int ColorResList (int iBitsPerPixel, Cardinal uPalette, Cardinal uDither, Cardinal uColors);

Delphi Syntax

ColorResList (iBitsPerPixel:Integer; uPalette:Cardinal; uDither: Cardinal; uColors: Cardinal): Integer;

Overview

Refer to Examining and Altering Bitmaps.

Remarks

Converts all bitmaps in a list from any bits-per-pixel to any bits-per-pixel.

This method also updates the palette that is referenced by the AnimationPalette property.

See Also

Elements:

ColorRes method, UserPalette property

Topics:

Raster Images: Doing Color Expansion or Reduction