PIL官方网站:http://www.pythonware.com/products/pil/
Pillow是PIL的一个派生分支,但如今已经发展成为比PIL本身更具活力的图像处理库。目前最新版本是3.0.0。
Pillow的Github主页:https://github.com/python-pillow/Pillow
Pillow的文档(对应版本v3.0.0):https://pillow.readthedocs.org/en/latest/handbook/index.html
Pillow的文档中文翻译(对应版本v2.4.0):http://pillow-cn.readthedocs.org/en/latest/
关于Pillow与PIL
PIL(Python Imaging Library)是Python一个强大方便的图像处理库,名气也比较大。不过只支持到Python 2.7。
python 2.7 安装PIL 很简单
pip install Pillow
但是Python 3.x 安装Pillow (注意是安装Pillow 不是PIL)
如果在Anaconda 环境下使用 conda install PIL 发现会自动下载安卓Python2.7,但是我们只想使用python3 版本。
因此Anaconda 下推荐使用,(该命令会同时下载安装一些依赖包,同时我自己对conda命令做了更改源加速)
conda install Pillow
或者使用
pip install Pillow
pip easy_install Pillow