The Python Papers

The Python Papers

Share this post

The Python Papers
The Python Papers
Drawing Text on Images with Pillow and Python

Drawing Text on Images with Pillow and Python

Mike Driscoll's avatar
Mike Driscoll
Dec 12, 2023
∙ Paid
3

Share this post

The Python Papers
The Python Papers
Drawing Text on Images with Pillow and Python
4
Share

Pillow supports drawing text on your images in addition to shapes. Pillow uses its font file format to store bitmap fonts, which are limited to 256 characters. Pillow also supports TrueType, OpenType fonts, and other font formats supported by the FreeType library.

Let’s get started!

Drawing Text

Drawing text with Pillow is similar to drawing shapes. Howeve…

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

Share