PIL, the Python imaging library, is a prerequisite for the image processing recipes in this chapter. If you prefer, you can install Pillow, which is a fork of PIL. Some people prefer the Pillow API; however, we are not going to cover its installation in this book.
Let's see how to install PIL:
$ sudo apt-get install python-imaging
pip: At the time of writing this book, it appears that the package managers of Red Hat, Fedora, and CentOS do not have direct support for ...