


It provides image processing features that are similar to ones found in image processing software such as Photoshop. However, Pillow remains an important tool for dealing with images. Some of these libraries are faster and more powerful than Pillow. Other popular libraries for image processing are OpenCV, scikit-image, and Mahotas. If you want to deal with images directly by manipulating their pixels, then you can use NumPy and SciPy. There’s more than one module in Python to deal with images and perform image processing. To use its developers’ own description, Pillow is the friendly PIL fork that kept the library alive and includes support for Python 3. PIL was discontinued in 2011 and only supports Python 2. PIL stands for Python Imaging Library, and it’s the original library that enabled Python to deal with images. The Python Pillow library is a fork of an older library called PIL. Basic Image Operations With the Python Pillow Library With those images in hand, you’re now ready to get started with Pillow. Get Images: Click here to get access to the images that you’ll manipulate and process with Pillow. In this tutorial, you’ll use several images, which you can download from the tutorial’s image repository: If you’ve never worked with images in Python before, this is a great opportunity to jump right in! Once you gain confidence using these methods, then you can use Pillow’s documentation to explore the rest of the methods in the library. This tutorial provides an overview of what you can achieve with the Python Pillow library through some of its most common methods.

To manipulate and process images, Pillow provides tools that are similar to ones found in image processing software such as Photoshop. Even though there are other Python libraries for image processing, Pillow remains an important tool for understanding and dealing with images. Pillow and its predecessor, PIL, are the original Python libraries for dealing with images.

In this tutorial, you’ll learn how to manipulate images and perform basic image processing using the Python Pillow library. However, when you read an image programmatically with Python or any other language, the computer sees an array of numbers. When you look at an image, you see the objects and people in it.
