This is the source code for the imwizard application demonstrated in Chapter 10 of ImageMagick, the Definitive Guide. This is a small Ruby script which demonstrates how to build an interactive program which builds a list of commands to apply to images, and then applies those commands to many images as specified by a regular…