How to mask images?

BlitzMax Forums/BlitzMax Beginners Area/How to mask images?

I think you have to set the mask color before loading the image so that it knows to convert pixels of that color into a mask?

Not sure how to use maskpixmap