Vcl.Imaging.GIFImg.CreateOptimizedPaletteFromManyBitmaps
Delphi
function CreateOptimizedPaletteFromManyBitmaps(Bitmaps: TList; Colors, ColorBits: integer;
Windows: boolean): hPalette;
C++
extern DELPHI_PACKAGE HPALETTE __fastcall CreateOptimizedPaletteFromManyBitmaps(System::Classes::TList* Bitmaps, int Colors, int ColorBits, bool Windows);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | Vcl.Imaging.GIFImg.pas Vcl.Imaging.GIFImg.hpp |
Vcl.Imaging.GIFImg | Vcl.Imaging.GIFImg |
Description
Performs color quantization on several bitmaps.
Call CreateOptimizedPaletteFromManyBitmaps to perform color quantization on the list of bitmaps given through the Bitmaps parameter. CreateOptimizedPaletteFromManyBitmaps returns an optimized palette corresponding to all the given bitmaps.