PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
This content has been translated automatically. Click here to view the French version.
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Returns the dominant (i.e. most frequent) color of an image present in an Variable of type Image or in an Image control.
Example
MaCouleur is Color = dDominantImageColor(IMG_MonImage)
Syntax
<Result> = dDominantImageColor(<Image>)
<Result>: Integer
Dominant color of image.
<Image>: Character string or Image variable
Image to be analyzed. This parameter can correspond to:
  • the name of an Image control,
  • the name of a variable of type Image.
Remarks
  • The transparent or semi-transparent pixels found in the image are ignored.
  • dDominantImageColor does not operate on vector images (SVG, PDF, ...).
Component: wd270pnt.dll
Minimum version required
  • Version 23
This page is also available for…
Comments
Click [Add] to post a comment