Update bot.py

This commit is contained in:
Thatkev 2024-02-07 22:40:06 +00:00
parent 35b49a1637
commit 1ef773dd47
1 changed files with 1 additions and 1 deletions

2
bot.py
View File

@ -88,7 +88,7 @@ async def handler(ev):
# Resize the image
img.thumbnail([WIDTH_PX, HEIGHT_PX], resample=Image.LANCZOS, reducing_gap=None)
# Convert to grayscale and apply a gamma of 1.8
# Convert to grayscale and apply a gamma of 1.8 comment these out when using a VC-500W
img = img.convert('L')
if GAMMA_CORRECTION != 1: