background = Image.open('test1.png')
foreground = Image.open('test2.png')
Image.alpha_composite(background, foreground).save('test3.png')
How to merge a transparent png image with another image using PIL