Vcl.Imaging.GIFImg.TGIFColorMap.DoOptimize

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function DoOptimize: boolean;

C++

bool __fastcall DoOptimize();

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.

See Also