Python | Crop image using pillow Last Updated : 16 Oct, 2019 Comments Improve Suggest changes Like Article Like Report In this article, we will learn to crop an image using pillow library. Cropping an image means to select a rectangular region inside an image and removing everything outside the rectangle. To crop an image we make use of crop() method on image objects. Syntax : IMG.crop(box_tuple) Parameters : Image_path- Location of the image IMG- Image to crop box_tuple- [left, up, right, bottom] of the image to crop Returns : An Image object which represents the cropped image. Example 1: Python3 # import Image module from PIL import Image # open the image Image1 = Image.open('D:/cat.jpg') # crop the image croppedIm = Image1.crop((130, 120, 200, 200)) # show the image croppedIm.show() Input Image : Output : Example 2: Python3 # import Image module from PIL import Image # open the image Image1 = Image.open('D:/cat.jpg') # crop the image croppedIm = Image1.crop((130, 50, 250, 150)) # show the image croppedIm.show() Input Image : Output : Comment More infoAdvertise with us Next Article Python | Crop image using pillow D DeepakDev Follow Improve Article Tags : Python Python-pil Practice Tags : python Similar Reads Python Pillow - Using Image Module In this article, we will see how to work with Image Module of PIL in Python. First, let's see how to install the PIL. Installation: Linux: On the Linux terminal type the following: pip install Pillow Installing pip via terminal: sudo apt-get update sudo apt-get install python-pipWorking with Image 5 min read Python - Channel Drop using Pillow A channel drop is a method of removing one of the channels of a multichannel image. By removing means turning the color value of a particular channel to 0 (all pixels), i.e. that particular channel doesn't have any effect on the final image (assuming colors are blended `normally`). Color theory (Col 5 min read Python Image Editor Using Python You can create a simple image editor using Python by using libraries like Pillow(PIL) which will provide a wide range of image-processing capabilities. In this article, we will learn How to create a simple image editor that can perform various operations like opening an image, resizing it, blurring 13 min read Python Pillow - Blur an Image Blurring an image is a process of reducing the level of noise in the image, and it is one of the important aspects of image processing. In this article, we will learn to blur an image using a pillow library. To blur an image we make use of some methods of ImageFilter class of this library on image o 2 min read Python Pillow - Working with Images In this article, we will see how to work with images using Pillow in Python. We will discuss basic operations like creating, saving, rotating images. So let's get started discussing in detail but first, let's see how to install pillow. Installation To install this package type the below command in t 4 min read Like