PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

This page concerns the 23 + version of WINDEV, WEBDEV, WINDEV Mobile. Upgrade your version.
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
dDominantImageColor (Function)
In French: dCouleurDominanteImage
Returns the dominant color (which means the most frequent one) of an image found in an Image variable or in an Image control.
Example
MyColor is Color = dDominantImageColor(IMG_MyImage)
Syntax
<Result> = dDominantImageColor(<Image>)
<Result>: Integer
Dominant color of image.
<Image>: Character string (with or without quotes) or Image variable
Image to study. This parameter can correspond to:
  • the name of an Image control,
  • the name of an Image variable.
Remarks
  • The transparent or semi-transparent pixels found in the image are ignored.
  • dDominantImageColor does not operate on vector images (SVG, PDF, ...).
Components
WINDEVWEBDEV - Server codeReports and Queries wd230pnt.dll
Windows Mobile wp230pnt.dll
Linux wd230pnt.so
Minimum required version
  • Version 23
This page is also available for…
Comments
Click [Add] to post a comment