mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-02-18 20:41:05 +03:00
This fixes image compression with mode "P" (potentially others) which is necessary as the server has erroneous alpha color with some types of images (mode "P" for example). This also properly applies the background argument that may be passed to _resize_photo_if_needed by always compressing images with alpha regardless of whether the server will compress the image for us. |
||
---|---|---|
.. | ||
__init__.py | ||
account.py | ||
auth.py | ||
bots.py | ||
buttons.py | ||
chats.py | ||
dialogs.py | ||
downloads.py | ||
messageparse.py | ||
messages.py | ||
telegrambaseclient.py | ||
telegramclient.py | ||
updates.py | ||
uploads.py | ||
users.py |