Python Multimedia
上QQ阅读APP看书,第一时间看更新

Summary

We learned a lot in this chapter about basic image manipulation.

Specifically, we covered image input-output operations that enable reading and writing of images, and creation of images from scratch.

With the help of numerous examples and code snippets, we learned several image manipulation operations. Some of them are:

  • How to resize an image with or without maintaining aspect ratio
  • Rotating or flipping an image
  • Cropping an image, manipulating it using techniques learned earlier in the chapter, and then pasting it on the original image
  • Creating an image with a text
  • We developed a small application that captures a region of your screen at regular time intervals
  • We created an interesting project implementing some image processing functionality learned in this chapter

With this basic image manipulation knowledge, we are ready to learn how to add some cool effects to an image. In the next chapter, we will see how to enhance an image.