Update plugin.py

This commit is contained in:
Gordon Shumway 2019-09-26 20:02:02 -04:00 committed by GitHub
parent 07c53f4c33
commit e146b6441e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -933,9 +933,9 @@ class ASCII(callbacks.Plugin):
resize = optlist.get('resize')
else:
resize = self.registryValue('resize', msg.args[0])
image2 = image.resize((cols, rows), resize)
if 's' in optlist:
image2 = ImageEnhance.Color(image2).enhance(s)
image2 = image.resize((cols, rows), resize)
if dither:
image2 = hitherdither.diffusion.error_diffusion_dithering(image2, self.palette, method=dither)
image2 = image2.convert('RGB')