We will be handling images with a python package called the Python Imaging Library (PIL).
Online documentation: http://www.pythonware.com/library/pil/handbook/index.htm
Download the PIL source kit 1.1.7 at http://www.pythonware.com/products/pil/.
Extract the files:
Download PIL 1.1.7 for Python 2.7 (Windows only) at http://www.pythonware.com/products/pil/.
Install PIL by running the .exe file
- You can also choose to install from source
- Check the README file in the download if you have further questions.
Using PIL with python
In your python program you can include PIL with: