From f3917be990288e8c5d08e388c8bca18b0bc0478b Mon Sep 17 00:00:00 2001 From: anthony Date: Mon, 23 Apr 2012 00:37:37 +0000 Subject: [PATCH] --- MagickCore/threshold.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MagickCore/threshold.c b/MagickCore/threshold.c index 19243fa13..d5e2eb836 100644 --- a/MagickCore/threshold.c +++ b/MagickCore/threshold.c @@ -489,7 +489,7 @@ MagickExport MagickBooleanType BlackThresholdImage(Image *image, { #define ThresholdImageTag "Threshold/Image" #define BlackThreshold(pixel,threshold_percentage) \ - if (pixel < threshold_percentage) pixel=0; + if (pixel <= threshold_percentage) pixel=0; CacheView *image_view; -- 2.50.1