Pillow

Save images

Mar 16,22

To save a modified image, we can use the save() method. This methods accepts a single parameter – the name …

Read More

Rotate an image

Mar 16,22

To rotate an image, the rotate() method can be used. This method accepts a single parameter – the angle in …

Read More

Resizing an image

Mar 16,22

To resize an image in Pillow, the resize() method is used. This method takes two parameters – namely, new width …

Read More

Cropping images

Mar 16,22

We can crop an area of an image. Let’s say that I would like to extract the tattoo on the …

Read More

Image attributes

Mar 16,22

The Image class has a set of attributes common for images. We can use them to print out some of …

Read More

Load an image

Mar 16,22

The Image module in PIL provides us with the Image class that is used to work with images. To load …

Read More
Geek University 2022