The following example uses a number of images; these are available as part of the book's resources. You will need to place the nine images in the same directory as the Python script.
The required image files can be seen in the code bundle of this chapter.