From f555b08f0daf5e8242ba5411fb16eebd04a3d062 Mon Sep 17 00:00:00 2001 From: Gordon Shumway <39967334+oddluck@users.noreply.github.com> Date: Tue, 27 Aug 2019 19:50:22 -0400 Subject: [PATCH] change quantization method --- ASCII/plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ASCII/plugin.py b/ASCII/plugin.py index 104fb20..bca3aa0 100644 --- a/ASCII/plugin.py +++ b/ASCII/plugin.py @@ -930,7 +930,7 @@ class ASCII(callbacks.Plugin): image2 = hitherdither.diffusion.error_diffusion_dithering(image2, self.palette, method=dither) image2 = image2.convert('RGB') elif quantize: - image2 = image2.quantize(method=1, dither=None) + image2 = image2.quantize(dither=None) image2 = image2.convert('RGB') colormap = np.array(image2) self.matches = {}