Chapter 2. Working with Images
In this chapter, we will learn basic image conversion and manipulation techniques using the Python Imaging Library. The chapter ends with an exciting project where we create an image processing application.
In this chapter, we shall:
- Learn various image I/O operations for reading and writing images using the Python Imaging Library (PIL)
- With the help of several examples and code snippets, perform some basic manipulations on the image, such as resizing, rotating/ flipping, cropping, pasting, and so on.
- Write an image-processing application by making use of PIL
- Use the QT library as a frontend (GUI) for this application
So let's get on with it!
Before we jump in to the main chapter, it is necessary ...