Vcl.Imaging.GIFImg.TGrayWindowsLookup.Lookup

From RAD Studio API Documentation
Jump to: navigation, search

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 TGrayWindowsLookup

Description

Converts a color to Windows grayscale.

Call Lookup to convert the mapping of the given color, specified through the Red, Green, and Blue parameters, into the Windows grayscale.

The resulting color is specified through the R, G, B arguments.

See Also