diff --git a/tgbot/shit/render.py b/tgbot/shit/render.py index 5769389..ad47748 100644 --- a/tgbot/shit/render.py +++ b/tgbot/shit/render.py @@ -73,7 +73,7 @@ HEIGHT = 10 def image_to_string(image_file): img = Image.open(image_file) - img = img.resize((WIDTH, HEIGHT), Image.Resampling.LANCZOS) + img = img.resize((WIDTH, HEIGHT), Image.Resampling.NEAREST) img = img.convert("1")