ImgRGBBlue

Top  Previous  Next

Prototype

 

intRed:=ImgRGBBlue(intColor)

 

Description

 

Extract blue component from RGB color (min 0 max $FFFFFF) .

 

Parameters

 

intColor: integer value corresponding to RGB color.

 

 

Returned Value

 

intRed: integer value corresponding to RGB color blue component.

 

Notes

 

None.

 

Example

 

//Extract red component

red:=ImgRGBRed(Color);

ApplicationLog('Red component is: '+IntToStr(red));

 

//Extract blue component

blue:=ImgRGBblue(Color);

ApplicationLog(Blue component is: '+IntToStr(blue));

 

//Extract green component

Green:=ImgRGBGreen(Color);

ApplicationLog('Green component is: '+IntToStr(Green));