ein transparentes < /strong> Bild einfügen müssen
Code: Select all
background = Image.open("test1.png")
foreground = Image.open("test2.png")
background.paste(foreground, (0, 0), foreground)
< /code>
Mit einem Normal < /strong> Bild sollten Sie < /p>
tunbackground = Image.open("test1.png")
foreground = Image.open("test2.png")
background.paste(foreground, (0, 0)) // difference here