MImgGetUsedColors
nColors = MImgGetUsedColors( hImage, naColors[*] )
Gets an image's used colors.
Parameters
hImage
Number: Handle of the image
naColors[*]
Array of Number: Contains the used colors if the function succeeds
Return
Number: Number of used colors if successful or negative if an error occured
Example
Set nColors = MImgGetUsedColors( hImage, naColors )
See also
MImgGetPaletteColor
MImgGetPixelColor
Created with the Personal Edition of HelpNDoc: Create help files for the Qt Help Framework