from PIL import Image
def blend_and_two_images():
img1 = Image.open( "bridge.png ")
img1 = img1.convert('RGBA')
img2 = Image.open( "birds.png ")
img2 = img2.convert('RGBA')
img = Image.blend(img1, img2, 0.3)
img.show()
img.save( "blend.png")
两张图片合成一张图片
猜你喜欢
转载自blog.csdn.net/weixin_43883907/article/details/89519710
今日推荐
周排行