From 8eb55f5706dd2f3cd21218ac1c3b060778e78b86 Mon Sep 17 00:00:00 2001 From: Cristy Date: Sat, 12 Oct 2019 14:14:41 -0400 Subject: [PATCH] https://github.com/ImageMagick/ImageMagick/issues/1584 --- MagickCore/quantize.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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); -- 2.50.0