PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
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
<Image variable>.DominantImageColor (Function)
In french: <Variable Image>.CouleurDominanteImage
Returns the dominant (i.e. most frequent) color of an image found in an Image control.
Example
MaCouleur est une Couleur = IMG_MonImage.CouleurDominanteImage()
Syntax
<Result> = <Image variable>.DominantImageColor()
<Result>: Integer
Dominant color of image.
<Image variable>: Image variable
Name of the Image control to use.
Remarks
  • The transparent or semi-transparent pixels found in the image are ignored.
  • <Image variable>.DominantImageColor does not operate on vector images (SVG, PDF, ...).
Component: wd270pnt.dll
Minimum version required
  • Version 24
This page is also available for…
Comments
Click [Add] to post a comment