This is how to use SetMaskColor:
Maybe the backgroudcolor of your image isn't really white, open up in Paint or something and check it.
Nicolas.
Strict '** Constants ** Const WIDTH:Int = 640 Const HEIGHT:Int = 480 Const DEPTH:Int = 0 '** End Constants ** Graphics WIDTH, HEIGHT, DEPTH SetMaskColor 255, 255, 255 Local testImage:TImage = LoadImage("testImage.bmp", MASKEDIMAGE) MidHandleImage testImage DrawImage testImage, WIDTH / 2, HEIGHT / 2 Flip FlushMem WaitKey End
Maybe the backgroudcolor of your image isn't really white, open up in Paint or something and check it.
Nicolas.