CompareImageCommand() compares two images and returns the difference between them as a distortion metric and as a new image visually annotating their differences.
The format of the CompareImageCommand method is:
MagickBooleanType CompareImageCommand(ImageInfo *image_info,int argc, char **argv,char **metadata,ExceptionInfo *exception)
A description of each parameter follows: