How to merge a transparent png image with another image using PIL

I have a transparent png image “foo.png”
and I’ve opened another image with

im = Image.open("foo2.png");

now what i need is to merge foo.png with foo2.png.

( foo.png contains some text and I want to print that text on foo2.png )

8 Answers
8

Leave a Comment