pgmagick – Add text in images
In this article we will see how to add text to images using pgmagick library in Python. We can do this by using
annotate() function. Sometimes, we need to add text to images like for its copyright or name of the organization the image is associated with.
In this article we will create an image with a green background text ‘GeeksforGeeks’ on it and will manipulate text on it.
Now, we will rotate the text to 45 degrees.
Now we will change font as well as size of text.