Using the Pillow library
We're going to add some cool Python software to process images. The Pillow package is a sophisticated image-processing library. This library provides extensive file format support, an efficient internal representation, and fairly powerful image processing capabilities. For more information, visit https://pypi.python.org/pypi/Pillow/2.1.0. The Pillow documentation will provide important background in what needs to be done. The installation guide on the PyPi web page is essential reading, you will get some additional details here. The core Pillow documentation is at http://pillow.readthedocs.org/en/latest/.
Note that Pillow will install a package named PIL
. This assures that Pillow (the project) creates a module that's compatible with the Python Imaging Library (PIL). We'll be importing modules from the PIL
package, even though we'll be installing software created by the Pillow project.
Adding the required supporting libraries
If you're a Windows...