Vcl.Imaging.GIFImg.TFastColorLookup.Lookup
Delphi
function Lookup(Red, Green, Blue: BYTE; var R, G, B: BYTE): Byte; override;
C++
virtual System::Byte __fastcall Lookup(System::Byte Red, System::Byte Green, System::Byte Blue, System::Byte &R, System::Byte &G, System::Byte &B);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | Vcl.Imaging.GIFImg.pas Vcl.Imaging.GIFImg.hpp |
Vcl.Imaging.GIFImg | TFastColorLookup |
Description
Maps the given color to the color mapper's palette.
Call Lookup to obtain the mapping of the given color, specified through the Red, Green, and Blue parameters into the color mapper's palette.
The resulting mapped color is specified through the R, G, B arguments.