problem with maskimage() outline

Blitz3D Forums/Blitz3D Beginners Area/problem with maskimage() outline

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

I'm using a simple 32x32 bmp (tried this with a png too).

I made a very simple image with 2 colors (0,0,0 and 255,0,255), a solid black disc with magenta filling the rest of the image.

my code looks like this

ball = LoadImage("ball.bmp")
MaskImage(ball,255,0,255)


Whenever I use DrawImage() to put it on the screen, I get a nice magenta border around the ball.

I originally created the image in photoshop, but figured that I might not be able to save the image without it doing some sort of anti-aliasing, so.... I created a new image from scratch in MSPaint. So I'm pretty sure it's saving the image with only 2 colors.

Any ideas???