ImageEn, unit hyieutils

TRGBA2TRGB


Declaration

function TRGBA2TRGB(RGBA: TRGBA): TRGB;


Description

Converts a TRGBA value to TRGBA (discarding the alpha channel).


Example

var
  rgb: TRGB;
Begin
  rgb := TRGBA2TRGB( rgba );
...
End;


See Also

CreateRGB
CreateRGBA
TRGB2TRGBA
TRGB2TColor
TColor2TRGBA