[Python] How to merge a transparent png image with another image using PIL

Discussão em 'Python' iniciado por Stack, Fevereiro 21, 2025.

  1. Stack

    Stack Membro Participativo

    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)

    Continue reading...

Compartilhe esta Página