Python 44 Programming Tutorial - Combine Images Together

from PIL import Image

sister = Image.open("sister.jpg")
girl = Image.open("girl.png")
area = (100, 100, 300, 300)

sister.paste(girl, area)  # make sure the area is the exact size of the paste data

sister.show()

你可能感兴趣的:(Python 44 Programming Tutorial - Combine Images Together)