Telethon/telethon
Nick80835 b9aafa3441 Fix IOError with some image modes in photo resize
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.
2025-01-13 20:37:36 +01:00
..
_updates Avoid error when trying to reset deadline for no msgbox entries 2024-12-22 15:07:35 +01:00
client Fix IOError with some image modes in photo resize 2025-01-13 20:37:36 +01:00
crypto Revert "Use tgcrypto if available (#1715)" 2021-03-20 17:20:33 +01:00
errors Update FAQ 2023-04-06 13:25:47 +02:00
events Improve error message when trying to delete inline messages 2023-06-09 17:48:08 +02:00
extensions Remove unused imports (#4397) 2024-06-21 00:06:40 +02:00
network Add error message back to proxy errors (#4443) 2024-08-29 23:54:34 +02:00
sessions Return marked ID from MemorySession.get_entity_rows_by_id (#4177) 2023-08-23 16:07:32 +02:00
tl Add missing parameters to Message constructor (#4529) 2025-01-04 19:29:19 +01:00
__init__.py Make custom, functions and types proper modules 2022-09-20 12:59:36 +02:00
custom.py Make custom, functions and types proper modules 2022-09-20 12:59:36 +02:00
functions.py Make custom, functions and types proper modules 2022-09-20 12:59:36 +02:00
helpers.py Fix unparsing of message.text (#4301) 2024-01-20 10:42:13 +01:00
hints.py Fix Python 3.5.2 type hinting (#1177) 2019-06-28 21:26:08 +02:00
password.py Remove unused imports and variables 2020-07-04 13:29:43 +02:00
requestiter.py Avoid explicitly passing the loop to asyncio 2020-07-25 18:39:35 +02:00
sync.py Stop using asyncio.get_event_loop() 2023-01-11 21:02:29 +01:00
types.py Make custom, functions and types proper modules 2022-09-20 12:59:36 +02:00
utils.py Fix custom parse_mode instances (#4304) 2024-02-02 18:16:01 +01:00
version.py Fix Python 3.6 compatibility 2024-11-18 17:04:07 +01:00