美文网首页
Image.blend

Image.blend

作者: 曦宝 | 来源:发表于2023-06-06 10:30 被阅读0次
    from PIL import Image
    img_new = Image.blend(image, img_new, 0.7)
    

    这句话的意思就是将image和img_new融合起来,image(1-0.7),img_new是0.7(图像所占的比重),image就透明一点,img_new就相对不透明一点。

    相关文章

      网友评论

          本文标题:Image.blend

          本文链接:https://www.haomeiwen.com/subject/ehhgedtx.html