GIFImg.TGIFColorMap.RGB2Color

From RAD Studio VCL Reference
Jump to: navigation, search

Delphi Information

From GIFImg.pas

	class function RGB2Color(Color: TGIFColor): TColor;


Unit: GIFImg

Type: method

Visibility: public

Member Of: TGIFColorMap

Description

Converts a RGB value to a Windows color value.


RGB2Color converts the RGB value of TColor type, specified through the Color argument, to its Windows color value equivalent, and returns the result as a TGIFColor type value.

To convert from a Windows color value to a RGB value, use the Color2RGB method.

See Also

Personal tools
Translations
Newest Version