Vcl.Imaging.GIFImg.TGIFColorMap.Optimize
Delphi
function Optimize: boolean; virtual; abstract;
C++
virtual bool __fastcall Optimize(void) = 0 ;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | Vcl.Imaging.GIFImg.pas Vcl.Imaging.GIFImg.hpp |
Vcl.Imaging.GIFImg | TGIFColorMap |
Description
Optimizes the color map.
Call Optimize to reorder 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.