How do you composite an image onto another image with PIL in Python?

后端 未结 5 1555
忘了有多久
忘了有多久 2020-12-07 14:19

I need to take an image and place it onto a new, generated white background in order for it to be converted into a downloadable desktop wallpaper. So the process would go:

5条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-07 14:40

    Image.blend()? [link]

    Or, better yet, Image.paste(), same link.

提交回复
热议问题