Vcl.Imaging.GIFImg.TGIFColorMap.ImportColorTable

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure ImportColorTable(Pal: pointer; ACount: integer);

C++

void __fastcall ImportColorTable(void * Pal, int ACount);

Properties

Type Visibility Source Unit Parent
procedure
function
public
Vcl.Imaging.GIFImg.pas
Vcl.Imaging.GIFImg.hpp
Vcl.Imaging.GIFImg TGIFColorMap

Description

Imports a Windows palette structure into the color map.

Use ImportColorTable to import the Windows palette structure pointed to by the Pal argument into the Data color map. The number of colors in the color table pointed to by Pal is specified through the ACount argument.

Note: All items in the Data color map are removed, using the Clear method, prior to importing the Windows palette structure.

See Also