diff --git a/telethon/client/uploads.py b/telethon/client/uploads.py index dfec45a3..e2ca8951 100644 --- a/telethon/client/uploads.py +++ b/telethon/client/uploads.py @@ -58,10 +58,7 @@ def _resize_photo_if_needed( except KeyError: kwargs = {} - if image.width <= width and image.height <= height: - return file - - image.thumbnail((width, height), PIL.Image.ANTIALIAS) + image.thumbnail((width, height), PIL.Image.LANCZOS) alpha_index = image.mode.find('A') if alpha_index == -1: