python图形处理库Python Imaging Library (PIL)

  • pil站点: http://www.pythonware.com/products/pil/index.htm
  • pil下载: http://effbot.org/downloads/Imaging-1.1.6.tar.gz
  • pil文档: http://www.pythonware.com/library/pil/handbook/index.htm

安装

$ tar zxvf Imaging-1.1.6.tar.gz
$ cd Imaging-1.1.6
$ python setup.py build_ext -i
$ python selftest.py
$ python setup.py install

安装完毕后,可在python安装目录下的site-packages找到PIL安装目录。

2008-11-10 229 pil python