image question

BlitzMax Forums/BlitzMax Beginners Area/image question

SetMaskColor 0,0,0 'Set Mask to Black
ImageWithBlackMask:TImage = LoadImage("MyImageWithABlackMask.png")
SetMaskColor 0,0,255 'Set Mask To Blue
ImageWithBlueMask:TImage = LoadImage("MyImageWithABlueMask.png")

Repeat
 DrawImage ImageWithBlackMask,10,10 'Both Images will be drawn correctly.
 DrawImage ImageWithBlueMask,100,100
 Flip
Until GameDone