From: cristy Date: Tue, 10 Apr 2012 15:58:04 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~5836 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=65bd4a4da07e824f91ba1765e9636f485e913293;p=imagemagick --- diff --git a/MagickCore/threshold.c b/MagickCore/threshold.c index 286cde85f..7728a9e19 100644 --- a/MagickCore/threshold.c +++ b/MagickCore/threshold.c @@ -484,7 +484,7 @@ MagickExport MagickBooleanType BlackThresholdImage(Image *image, { #define ThresholdImageTag "Threshold/Image" #define BlackThreshold(pixel,threshold_percentage) \ - if (pixel < threshold_percentage) pixel=QuantumRange; + if (pixel < threshold_percentage) pixel=0; CacheView *image_view;