Learn Pillow
Python's friendly imaging library for opening, editing and saving images
Pillow is the maintained fork of PIL, the Python Imaging Library. It reads and writes dozens of image formats and handles everyday edits: resizing, cropping, rotating, drawing text, filters, colour conversion and metadata. Web backends, scripts and ML data pipelines use it whenever images need to be loaded or produced.
Before you start
How deep do you want to go?
1. EssentialsRead and write simple code, do the everyday basics
2. PracticalUse it productively at work, with the usual idioms
3. AdvancedThe less common features, performance and trade-offs
4. ExpertInternals and the edge cases experts know