How to NOT mask images

Blitz3D Forums/Blitz3D Programming/How to NOT mask images

KuRiX(Posted 2005) [#1]
I need to load an image (loadimage) and then draw it to the screen (drawimage) but i don't want any color to be transparent.

Default is 0,0,0 and i can change it using maskimage, but i don't want to mask the image anything!

Any help?


Stevie G(Posted 2005) [#2]
Why not just make the default 255,255,255 and just ensure that the image doesn't contain any pure white. You could make a routing to check the image and if it find pure white just reduce it slightly.


GfK(Posted 2005) [#3]
Use DrawBlock instead of DrawImage. DrawBlock is faster, anyway.


KuRiX(Posted 2005) [#4]
DrawBlock Works! Thanks!