Mmmh, strange. Didn’t know that this is not working.
What happens if you try this:
mymask.readPixels(0,0,w,h, data)
Maybe it is better to read from the mask directly and not from the underlying image.
Mmmh, strange. Didn’t know that this is not working.
What happens if you try this:
mymask.readPixels(0,0,w,h, data)
Maybe it is better to read from the mask directly and not from the underlying image.