Skip to end of metadata
Go to start of metadata

PIL

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

Installing PIL

Mac OSX/Linux

Download the PIL source kit 1.1.7 at http://www.pythonware.com/products/pil/.

Extract the files:

Install PIL:

Windows

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

Notes:

  • 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:




Labels
  • No labels