Image Transparency

BlitzMax Forums/BlitzMax Programming/Image Transparency

rdodson41(Posted 2006) [#1]
How do you set which color is transparent in an image?


DaveK(Posted 2006) [#2]
SetMaskColor(red,green,blue), before loading your image with the 'MASKEDIMAGE' flag.

In the Docs is say 'when images are loaded or modified'. Is there a way of changing an images mask afterwards ?


FlameDuck(Posted 2006) [#3]
Change the Alpha imformation of the underlying PixMap?

In fact you should ALWAYS use Alpha values over colours, that way you can have smooth border.


tonyg(Posted 2006) [#4]
You can change the mask once after loading with this otherwise you can use setimagemask