The Python Papers

The Python Papers

Even More About Drawing Text on Images with Python

Mike Driscoll's avatar
Mike Driscoll
Dec 19, 2023
∙ Paid
4
Share

Last week, you learned the basics of drawing text on images using Python and the Pillow package.

This week, you will learn how to:

  • Change the text color

  • Drawing multiple lines of text

  • Text alignment

  • Text opacity

Let’s get started!

Changing Text Color

Pillow allows you to change the color of your text by using the fill parameter. You can set this color using an …

Keep reading with a 7-day free trial

Subscribe to The Python Papers to keep reading this post and get 7 days of free access to the full post archives.

Already a paid subscriber? Sign in
© 2025 Mike Driscoll
Privacy ∙ Terms ∙ Collection notice
Start writingGet the app
Substack is the home for great culture