SoFunction
Updated on 2024-11-20

Python3 Installation of Pillow with PIL

About Pillow and PIL

PIL (Python Imaging Library) is a powerful and convenient image processing library for Python, and the fame is relatively big. However, it is only supported up to Python 2.7.

PIL official website:/products/pil/

Pillow is a derivative branch of PIL, but today has evolved into a more dynamic image processing library than PIL itself. The latest version is currently 3.0.0.

Pillow's Github page:/python-pillow/Pillow

Pillow's documentation (corresponding to version v3.0.0):/en/latest/handbook/

Chinese translation of Pillow's documentation (corresponding to version v2.4.0):/en/latest/

Python Installs Pillow

Installing Pillow for Python is very easy, just one line of code using pip or easy_install.

Install using PIP at the command line:

pip install Pillow

or at the command line usingeasy_installInstallation:

easy_install Pillow

Once installed, use from PIL import Image to reference the use of the library. For example:

from PIL import Image
im = ("")
(45).show()

summarize

Above is the entire content of this article, I hope the content of this article for your study or work has a certain reference learning value, thank you for your support. If you want to know more about the content please check the following related links