Save images
Mar 16,22To save a modified image, we can use the save() method. This methods accepts a single parameter – the name …
Read MoreRotate an image
Mar 16,22To rotate an image, the rotate() method can be used. This method accepts a single parameter – the angle in …
Read MoreResizing an image
Mar 16,22To resize an image in Pillow, the resize() method is used. This method takes two parameters – namely, new width …
Read MoreCropping images
Mar 16,22We can crop an area of an image. Let’s say that I would like to extract the tattoo on the …
Read MoreImage attributes
Mar 16,22The Image class has a set of attributes common for images. We can use them to print out some of …
Read MoreLoad an image
Mar 16,22The Image module in PIL provides us with the Image class that is used to work with images. To load …
Read More