Book Image

Python for Secret Agents

By : Steven F. Lott, Steven F. Lott
Book Image

Python for Secret Agents

By: Steven F. Lott, Steven F. Lott

Overview of this book

Table of Contents (12 chapters)
Python for Secret Agents
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

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 agent, then you can skip...