The Python Papers

The Python Papers

Share this post

The Python Papers
The Python Papers
Drawing Rectangles with Rounded Corners with Pillow and Python
Copy link
Facebook
Email
Notes
More

Drawing Rectangles with Rounded Corners with Pillow and Python

Mike Driscoll's avatar
Mike Driscoll
Feb 13, 2024
∙ Paid
4

Share this post

The Python Papers
The Python Papers
Drawing Rectangles with Rounded Corners with Pillow and Python
Copy link
Facebook
Email
Notes
More
2
1
Share

Pillow is a package devoted to working with images in Python. Starting in Pillow 8.2, a new drawing type is the rounded rectangle. A rounded rectangle lets you round the corners of the rectangle. So, instead of sharp corners, you get rounded ones! You can read all about the new drawing type in the Pillow documentation.

Getting Started

Make sure that you h…

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

Copy link
Facebook
Email
Notes
More