No subject

Yu Jiang
Thu, 15 May 1997 19:15:15 -0500

Hi Everybody:

I am learning PIL, and I do not understand this method in

def composite(image1, image2, mask):
    "Create composite image by blending images using a transparency mask"

    image = image2.copy()
    image.paste(image1, None, mask)
    return image

What is the result?
How to set mask value?

I need to merge two side by side images into one, does this method
do the trick?


IMAGE-SIG - SIG on Image Processing with Python

send messages to:
administrivia to: