About Pillow and PIL
PIL (Python Imaging Library) is a powerful and convenient image processing library in Python, and is also quite famous. However, it only supports Python 2.7.
PIL official website:/products/pil/Pillow is a derivative branch of PIL, but has now developed into a more dynamic image processing library than PIL itself. The latest version is currently 3.0.0.
Pillow's Github homepage:/python-pillow/PillowPillow's documentation (corresponding to version v3.0.0):/en/latest/handbook/Pillow's documentation is translated in Chinese (corresponding to version v2.4.0):/en/latest/Python installation of Pillow
Installing Pillow for Python is very simple. Using pip or easy_install is just one line of code.
Install using PIP on the command line:
pip install Pillow
Or install it using easy_install on the command line:
easy_install Pillow
After the installation is completed, use from PIL import Image to reference the usage library. for example:
from PIL import Image
im = ("")
(45).show()