From f35892d44db11544bc5c4cc131b667528a082c15 Mon Sep 17 00:00:00 2001 From: Gordon Shumway <39967334+oddluck@users.noreply.github.com> Date: Thu, 30 May 2019 23:09:47 -0400 Subject: [PATCH] img: handle alpha for all options --- ASCII/plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ASCII/plugin.py b/ASCII/plugin.py index c2ba87c..76127e5 100644 --- a/ASCII/plugin.py +++ b/ASCII/plugin.py @@ -574,7 +574,7 @@ class ASCII(callbacks.Plugin): image2 = image.convert('P', dither=Image.FLOYDSTEINBERG, palette=Image.ADAPTIVE) else: image2 = image.convert('P', dither=None, palette=Image.ADAPTIVE) - image2 = image.convert('RGB') + image2 = image2.convert('RGB') colormap = np.array(image2) self.matches = {} image = image.convert('L')