Vcl.Imaging.GIFImg.TGIFColorMap.Optimize

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function Optimize: boolean; virtual; abstract;

C++

virtual bool __fastcall Optimize() = 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.

See Also