Added command-line ImageMagick implementation.

The command-line ImageMagick implementation can be enabled by setting
the image_library option to 2.
It might also be necessary to define the convert_bin and identify_bin
options if the convert and identify binaries are not found in the
system path.