English | Site Directory

Installing PIL

Introduction

The images api uses the Python Imaging Library locally to transform images during testing on your local machine. You'll need to download the PIL module and install it on your local machine to use the imaging api with the SDK.

Installing PIL on Windows

Installing PIL on Windows can be completed in a few simple steps:

  • 1. Download the Windows installer from the PIL website.
  • 2. Double click on the installer to start the installation process.
  • 3. Choose the correct directory for PIL install.
  • 4. Finish the installation and test out our sample application locally.

Installing PIL on Mac OS X

Installing PIL on Mac OS X 10.4 and 10.5 can be completed in a few simple steps:

  • 1. Download the Mac installer from the http://pythonmac.org.
  • 2. Install the package.
  • 3. Finish the installation and test out our sample application locally.

If you use MacPorts or Darwin Ports you may find these sites helpful:

Installing PIL on Linux

Use the following command to install PIL on Linux:

  sudo apt-get install python-imaging