Masking
- Posted by "Stewart MacKenzie-Leigh" <stewartml89 at msn.com> Nov 08, 2003
- 644 views
Is there a fster way to display a bitmap on the screen without the pixels which are the mask color, other than plotting each color individually in a loop? this is the code im using at the moment: for y = 1 to length(img) do for x = 1 to length(img[y]) do if img[y][x] != MASK_COLOR then pixel(img[y][x], {imgX + x, imgY + y}) end if end if end for this is too slow for what i am doing. thanks in advance StewartML