|
|
| GetImageMaskColour | ||
| ColourRGBValue = GetImageMaskColour(ImageIndex) | ||
| Parameters: ImageIndex = The Image you wish to query |
||
| Returns: ColourRGBValue = The transparent colour of the image in 24bit RGB format |
||
GetImageMaskColour() reads an images transparent (mask) colour. FACTS: * Images by default have a transparent colour mask of zero rgb(0,0,0) * The returned colour will be in 32bit ARGB format, even if the Image is only 16Bit. %AAAAAAAARRRRRRRRGGGGGGGGBBBBBBBB. See RGBA, RGBR,RGBG,RGBB to isloate the A, R,G,B levels of the colour. Mini Tutorial: The example creates an image, set it's mask colour to RGB(0,0,255) (a bright blue colour), display it then reads the images transparent colour..
This example would output.
|
| Related Info: | ARGB | ImageMaskColour | Images | RGB | RGBmaskImage : |
|
|
|||||||||||||||||||||||||||||||||||||||
|
(c) Copyright 2002 - 2026 - Kevin Picone - PlayBASIC.com |