ImgGetDominantPrimaryColor

Top  Previous  Next

Prototype

 

StrColorName:=ImgGetDominantPrimaryColor(HandleImage)

 

Description

 

Return dominant primary color.

 

Parameters

 

HandleImage: integer value corresponding to image handle.

 

Returned Value

 

StrColor: String value corresponding to color name: RED, GREEN, BLUE, CYAN, YELLOW, MAGENTA.

 

Notes

 

None.

 

Example

 

// Return dominant primary color

color:=ImgGetDominantPrimaryColor(_CurrentImage);