--dither option

This commit is contained in:
Gordon Shumway 2019-04-26 02:43:08 -04:00 committed by GitHub
parent 6a02da4a5f
commit 78365835d3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -406,7 +406,7 @@ class ASCII(callbacks.Plugin):
except:
return
#irc.reply("Error. Did you set a valid Paste.ee API Key? https://paste.ee/account/api")
img = wrap(img,[getopts({'w':'int', 'invert':'', 'fast':'', 'slow':'', 'slower':'', 'slowest':'', 'insane':'', '16':'', 'delay':'float'}), ('text')])
img = wrap(img,[getopts({'w':'int', 'invert':'', 'fast':'', 'slow':'', 'slower':'', 'slowest':'', 'insane':'', '16':'', 'delay':'float', 'dither':''}), ('text')])
def ansi(self, irc, msg, args, optlist, url):
"""[--w <width>] [--16] <url>
@ -536,7 +536,7 @@ class ASCII(callbacks.Plugin):
except:
return
#irc.reply("Error. Did you set a valid Paste.ee API Key? https://paste.ee/account/api")
ansi = wrap(ansi, [getopts({'w':'int', 'invert':'', 'fast':'', 'slow':'', 'slower':'', 'slowest':'', 'insane':'', '16':'', 'delay':'float'}), ('text')])
ansi = wrap(ansi, [getopts({'w':'int', 'invert':'', 'fast':'', 'slow':'', 'slower':'', 'slowest':'', 'insane':'', '16':'', 'delay':'float', 'dither':''}), ('text')])
def fontlist(self, irc, msg, args):
"""