Update bot.py
This commit is contained in:
parent
35b49a1637
commit
1ef773dd47
2
bot.py
2
bot.py
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue