Mask with bitmap

Mask with bitmap, How can i do that?

obj.effect(new AlphaEffect(new Pic(url)))

Some examples and more info here DOCS - ZIM JavaScript Canvas Framework - Documentation

1 Like

What mask were you using? I am trying to do an "erase" mask by having two pictures one on top of the other and erase the top one to reveal the bottom one?

Check out

And

It does not have two pictures but just put a second picture at the .bot()

1 Like