From: cristy Date: Thu, 9 Jan 2014 14:42:27 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~2927 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=33caf0c62ce79ed318b8cbc8067bdf9dd03d4002;p=imagemagick --- diff --git a/MagickWand/compare.c b/MagickWand/compare.c index 7b9e4bb4d..019a9d4c5 100644 --- a/MagickWand/compare.c +++ b/MagickWand/compare.c @@ -1027,7 +1027,6 @@ WandExport MagickBooleanType CompareImagesCommand(ImageInfo *image_info, case MeanAbsoluteErrorMetric: case MeanSquaredErrorMetric: case PeakAbsoluteErrorMetric: - case PerceptualHashErrorMetric: case RootMeanSquaredErrorMetric: { (void) FormatLocaleFile(stderr,"%g (%g)",QuantumRange*distortion, @@ -1041,6 +1040,7 @@ WandExport MagickBooleanType CompareImagesCommand(ImageInfo *image_info, case AbsoluteErrorMetric: case NormalizedCrossCorrelationErrorMetric: case PeakSignalToNoiseRatioErrorMetric: + case PerceptualHashErrorMetric: { (void) FormatLocaleFile(stderr,"%g",distortion); if ((reconstruct_image->columns != image->columns) || @@ -1084,7 +1084,6 @@ WandExport MagickBooleanType CompareImagesCommand(ImageInfo *image_info, case MeanAbsoluteErrorMetric: case MeanSquaredErrorMetric: case PeakAbsoluteErrorMetric: - case PerceptualHashErrorMetric: case RootMeanSquaredErrorMetric: { switch (image->colorspace) @@ -1147,6 +1146,7 @@ WandExport MagickBooleanType CompareImagesCommand(ImageInfo *image_info, case AbsoluteErrorMetric: case NormalizedCrossCorrelationErrorMetric: case PeakSignalToNoiseRatioErrorMetric: + case PerceptualHashErrorMetric: { switch (image->colorspace) {