Is it possible to use one image as a mask to determine what bits to show of another image?
i.e. ImageC = ImageA AND ImageB
Ta
i.e. ImageC = ImageA AND ImageB
Ta
function maskdraw(x,y,pict,mask) buffer=graphicsbuffer();save the active buffer temp=createimage(imagewidth(pict),imageheight(pict)) maskimage temp,0,255,0 maskimage mask,255,0,255 setbuffer imagebuffer(temp) drawblock pict,0,0 ; draw the picture drawimage mask,0,0 ;draw the mask on top setbuffer buffer drawimage temp,x,y freeimage temp end function