No subject

Yu Jiang jiang@geosun.indstate.edu
Thu, 15 May 1997 19:15:15 -0500


Hi Everybody:

I am learning PIL, and I do not understand this method in Image.py:

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?

Huey


_______________
IMAGE-SIG - SIG on Image Processing with Python

send messages to: image-sig@python.org
administrivia to: image-sig-request@python.org
_______________