📜  python 图像层 - Python 代码示例

📅  最后修改于: 2022-03-11 14:46:47.191000             🧑  作者: Mango

代码示例1
from PIL import Image

background = Image.open("test1.png")
foreground = Image.open("test2.png")

background.paste(foreground, (0, 0), foreground)
background.show()