documentation index ◦ reference manual ◦ function index
Function: | im.AlphaMask | (base, mask, **properties): |
base and mask should be image manipulators. This function takes the red channel from mask, and applies it to the alpha channel of base to create a new image.
init: image eileen happy = im.AlphaMask("eileen_happy.base.jpg", "eileen_happy.mask.jpg")