From a0925fe8debc43c0e24e70e6894600d0317d03a0 Mon Sep 17 00:00:00 2001 From: Gordon Shumway <39967334+oddluck@users.noreply.github.com> Date: Mon, 3 Jun 2019 15:48:26 -0400 Subject: [PATCH] no 99 color reduction --- ASCII/plugin.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ASCII/plugin.py b/ASCII/plugin.py index f5810c3..652a91e 100644 --- a/ASCII/plugin.py +++ b/ASCII/plugin.py @@ -590,9 +590,9 @@ class ASCII(callbacks.Plugin): image = image.resize((cols, rows), Image.LANCZOS) if 'nocolor' not in optlist: if 'dither' in optlist: - image2 = image.convert('P', dither=Image.FLOYDSTEINBERG, palette=Image.ADAPTIVE, colors=99) + image2 = image.convert('P', dither=Image.FLOYDSTEINBERG, palette=Image.ADAPTIVE) else: - image2 = image.convert('P', dither=None, palette=Image.ADAPTIVE, colors = 99) + image2 = image.convert('P', dither=None, palette=Image.ADAPTIVE) image2 = image2.convert('RGB') colormap = np.array(image2) self.matches = {}