Skip to Content
Nextra 4.0 is released 🎉
ActivitiesPillow Activity

Pillow Activity

In this activity you’ll explore the Pillow library for image processing — loading images, applying transformations, reading documentation, and saving your results.

Install Pillow first if you haven’t already:

pip install pillow

Then import what you need at the top of your file:

from PIL import Image, ImageFilter

Part 1 — Load an image

Topics covered: Image.open() , Image.show() 


Part 2 — Apply basic transformations

Topics covered: resize() , rotate() , convert() 


Part 3 — Explore the documentation

Topics covered: Image module reference 


Part 4 — Custom filter

Topics covered: ImageFilter module 


Part 5 — Save your work

Topics covered: Image.save() 

Last updated on