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 pillowThen import what you need at the top of your file:
from PIL import Image, ImageFilterPart 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