From fef46428dc6637c1d5293bc24a25cbc37392aebd Mon Sep 17 00:00:00 2001 From: Gordon Shumway <39967334+oddluck@users.noreply.github.com> Date: Tue, 21 May 2019 02:40:40 -0400 Subject: [PATCH] img: --nocolor invert on white background --- ASCII/plugin.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ASCII/plugin.py b/ASCII/plugin.py index 3a9473e..0846f8f 100644 --- a/ASCII/plugin.py +++ b/ASCII/plugin.py @@ -530,6 +530,8 @@ class ASCII(callbacks.Plugin): gscale = "$@B%8&WM#*oahkbdpqwmZO0QLCJUYXzcvunxrjft/\|()1{}[]?-_+~<>i!lI;:\"^`'." if 'nocolor' in optlist and 'chars' in optlist: return + elif 'nocolor' in optlist and bg == 0 or bg == 98: + gscale = "@%#*+=-:. " elif 'nocolor' in optlist and 'invert' in optlist: gscale = "@%#*+=-:. " elif 'nocolor' in optlist and 'ramp' not in optlist: