From: Cristy Date: Sat, 12 Oct 2019 18:14:41 +0000 (-0400) Subject: https://github.com/ImageMagick/ImageMagick/issues/1584 X-Git-Tag: 7.0.9-0~81 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8eb55f5706dd2f3cd21218ac1c3b060778e78b86;p=imagemagick https://github.com/ImageMagick/ImageMagick/issues/1584 --- diff --git a/MagickCore/quantize.c b/MagickCore/quantize.c index 38ea0d3e7..76995a443 100644 --- a/MagickCore/quantize.c +++ b/MagickCore/quantize.c @@ -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);