September 2026
1051 pages
35h 4m
English
The third-party Pillow library enables the processing of raster graphics in Python.
Pillow is a fork[ 249 ] of the Python Imaging Library (PIL) for Python 2, which isn’t developed much further. One of Pillow's goals is to remain as compatible as possible with PIL.
At this point, we’ll provide an introduction to using Pillow based on an example. It covers loading and saving image files, cropping portions of an image, geometric transformations, and applying and writing filters.
Because Pillow is a third-party package, it must be installed before you can use it. This can be done via the Anaconda package manager:
$ conda install pillow
Alternatively, if you don’t use Anaconda, Pillow can be ...
Read now
Unlock full access