Pillow PIL
PIL(Python Imaging Library) Python , 。 Python 2.7。
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/
Python 3.x Pillow
Python Pillow , pip easy_install 。
PIP :
pip install Pillow
easy_install :
easy_install Pillow
, from PIL import Image 。 :
from PIL import Image
im = Image.open("bride.jpg")
im.rotate(45).show()