Google Code offered in: English - Español - 日本語 - 한국어 - Português - Pусский - 中文(简体) - 中文(繁體)
The Images API uses the Python Imaging Library (PIL) 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 Images API with the SDK.
To install PIL on Windows:
To install PIL on Mac OS X 10.4 and higher:
Note: If you have trouble installing PIL and you use Python 2.4, try PIL 1.1.5, which you can download from http://pythonmac.org/packages/py24-fat/index.html. Another alternative is to download the PIL 1.1.7 source from http://www.pythonware.com/products/pil/ and install it manually.
If you use MacPorts (formerly known as DarwinPorts), you may find this site helpful:
Use the following command to install PIL on Linux:
sudo apt-get install python-imaging
Note: On some Linux distributions,
PIL is installed with incorrect permissions, which makes it unusable.
The solution is to make sure that user accounts can read the files, e.g.
/usr/lib/python2.5/site-packages/PIL/*.so
.