From 6abd4190834b17727ebdc5c6872dce24a42a0a71 Mon Sep 17 00:00:00 2001 From: cristy Date: Fri, 22 Jun 2012 13:42:48 +0000 Subject: [PATCH] --- tests/validate.c | 3 +-- tests/validate.h | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/validate.c b/tests/validate.c index 6f41c2c53..bf81259c8 100644 --- a/tests/validate.c +++ b/tests/validate.c @@ -848,8 +848,7 @@ static size_t ValidateImageFormatsOnDisk(ImageInfo *image_info, #if defined(MAGICKCORE_HDRI_SUPPORT) fuzz+=0.003; #endif - if ((IssRGBColorspace(reference_image->colorspace) == MagickFalse) && - (IsGrayColorspace(reference_image->colorspace) == MagickFalse)) + if (IssRGBColorspace(reference_image->colorspace) == MagickFalse) fuzz+=0.3; fuzz+=DistortionEpsilon; difference_image=CompareImages(reference_image,reconstruct_image, diff --git a/tests/validate.h b/tests/validate.h index 2f472a42a..9e201772d 100644 --- a/tests/validate.h +++ b/tests/validate.h @@ -295,7 +295,7 @@ static const struct ReferenceFormats { "PEF", UndefinedCompression, 0.0 }, { "PFA", UndefinedCompression, 0.0 }, { "PFB", UndefinedCompression, 0.0 }, - { "PFM", UndefinedCompression, 0.0 }, + { "PFM", UndefinedCompression, 0.003 }, { "PGM", UndefinedCompression, 0.0 }, { "PGX", UndefinedCompression, 0.0 }, #if !defined(MAGICKCORE_HDRI_SUPPORT) -- 2.40.0