Vcl.Imaging.GIFImg.TGIFColorMap.DoOptimize
Delphi
function DoOptimize: boolean;
C++
bool __fastcall DoOptimize(void);
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| function | class protected | Vcl.Imaging.GIFImg.pas Vcl.Imaging.GIFImg.hpp |
Vcl.Imaging.GIFImg | TGIFColorMap |
Description
Optimizes the color map.
DoOptimize reorders the colors in the color map in ascending order, with respect to the usage count of the colors. This operation optimizes the GIF color map for faster access.