From: cristy Date: Fri, 22 Jun 2012 13:42:48 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~5370 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6abd4190834b17727ebdc5c6872dce24a42a0a71;p=imagemagick --- 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)