PIL
(also called Pillow) module from Image
.imshow()
now and not just show()
.resize
method from the PIL
library.img_1.resize((width, height))
needs a tuple with the new width and height.crop
method from the PIL
library.rotate
method from the PIL
library to rotate an image.invert
method.save
method from the PIL
library to save the image in a different format.lesson_4.ipynb
.If you finish lesson 4 (but no need to rush), you can try your hand at lesson 5.