]> granicus.if.org Git - imagemagick/blobdiff - MagickCore/quantize.c
https://github.com/ImageMagick/ImageMagick/issues/1584
[imagemagick] / MagickCore / quantize.c
index 38ea0d3e75582225452a1286f389eccc28e49475..76995a4433ecd15e846703065049de1978f0686f 100644 (file)
@@ -2712,13 +2712,10 @@ MagickExport MagickBooleanType QuantizeImage(const QuantizeInfo *quantize_info,
   if (status != MagickFalse)
     {
       /*
-        Reduce the number of colors in the image if it contains more than the
-        maximum, otherwise we can disable dithering to improve the performance.
+        Reduce the number of colors in the image.
       */
       if (cube_info->colors > cube_info->maximum_colors)
         ReduceImageColors(image,cube_info);
-      else
-        cube_info->quantize_info->dither_method=NoDitherMethod;
       status=AssignImageColors(image,cube_info,exception);
     }
   DestroyCubeInfo(cube_info);