Fitting multiple camera views to a single image is just one example where multiple images might be effectively combined to a single image. Another example is when we would like to show frames from an animation where we don't have access to facilities to replay the animation. In such situations we would like to show something resembling a film strip where we combine a small rendition of, for example, every tenth frame to a single sheet of images. An example is shown in the following illustration.
Although there are more images to combine than in the multiple camera view, the code to create such a film strip is fairly similar.
The first function that we develop is
strip() that takes a list of filenames ...