image question

BlitzMax Forums/BlitzMax Beginners Area/image question

P1) How do I do this
R1) You set this before you load an image
P2) Before I Draw the Image or before I load the Image
R2) Before you load the Image
P3) So I can only Set it once
R3) No you can set it before you load any image, and reset it before you load another image
P3) So I have to set it before I load every image
R3) Ahhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh

In case you didnt realise this is just cut from the docs
Function SetMaskColor( red,green,blue )
Description Set current mask color.
Information The current mask color is used to build an alpha mask when images are loaded or modified. The red, green and blue parameters should be in the range of 0 to 255.


So, when you load (or modify) an image, Bmax builds an Alpha mask for that image, with the current mask color. If you want the Mask colour to be a different mask colour you change it. If you dont want the mask colour to be a different colour you dont change it