I need to put some text over a PNG image in Python, I need to put another image too over the first one.
So I’ll have a base image (the same for every image created), a logo to put over it in the upper left corner, and a text all over the image (non-specific font, I just need to set the font size).
Could I use PIL, or another Library?
I searched over StackOverflow and Google too, but I could not find tips on how to do this.
Thanks.
PIL can do it:
The only error that can occur is not to find the font.
In this case you must change the code line:
Source: http://python-catalin.blogspot.com/2010/06/add-text-on-image-with-pil-module.html