]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Tue, 10 Apr 2012 15:58:04 +0000 (15:58 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Tue, 10 Apr 2012 15:58:04 +0000 (15:58 +0000)
MagickCore/threshold.c

index 286cde85f845d2397715a87f0b7ca1b5a3d6f577..7728a9e198a07387f68ee3f7a61fb5145698c93f 100644 (file)
@@ -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;