Vcl.Imaging.GIFImg.TNetscapeColorLookup.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 | TNetscapeColorLookup |
Description
Converts a color to the color mapper's palette.
Call Lookup to convert the mapping of the given color, specified through the Red, Green, and Blue parameters, into the color mapper's palette.
The resulting color is specified through the R, G, B arguments.