From: anthony Date: Mon, 23 Apr 2012 00:37:37 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~5751 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f3917be990288e8c5d08e388c8bca18b0bc0478b;p=imagemagick --- 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;