Image Mask Colour Showing Up :(
Blitz3D Forums/Blitz3D Beginners Area/Image Mask Colour Showing Up :(
| ||
Hi all. I've just loaded an image with a 255, 0, 255 mask. I now want to create 359 rotated images, so I use: for i = 1 to 359 imageArray(i) = copyimage(original image) rotateimage imageArray(i), i next My problem is that although the original image is perfect, the mask colour shows up around the edges of each of the rotated images. Any suggestions? Thanks in advance. Oh, btw, the image is a bmp, and (if possible) i'd like to keep it that way. Thanks |
| ||
Pre-rotate the image with a package that doesn't antialias the edges. EDIT: eg Gimp has an 'Interpolation: None' setting for rotation. |
| ||
It is caused by the TFormFilter. Use TFormFilter false. |
| ||
Oh, I didn't realise that Blitz did that LOL. So obvious. I just used TFormFilter False and it works perfectly. |
| ||
TFormFilter false And I didn't realise it did that! :D |