it won't work,
- make a totally new 32b bitmap
- read both pattern image and alpha image pixel data into separate pixel variables,
- write it into the new image: pattern colour to new colour, alpha colour to new alpha
- save new image


Free world editor for 3D Gamestudio: MapBuilder Editor