Log in here to report bugs or suggest features. Please enter your phone number in the international format and we will send a confirmation message to your account via Telegram.
We've just sent you a message.
Please confirm access via Telegram
Telegram developers in January 2015 recognized the advantages of WebP. (“Thanks to the WebP file format, Stickers on Telegram are displayed 5x faster compared to the other formats usually used in messaging apps”, the page at https://telegram.org/blog/stickers says.)
Fast forward to 2021. The advantages of WebP are now universally recognized. Firefox has added WebP support in 2019. Apple has added WebP support to Safari 14.0 and later versions. The Web is brimming with WebP images that have never been intended to become stickers in Telegram. That images are saved in WebP just because WebP files are significantly smaller that PNG (because of WebP's better lossless compression), because WebP files are prettier than JPEG (because of WebP's less visible artifacts of lossy compression), etc.
Telegram should recognize this new abundance of WebP files and let its users decide how they intend to send their WebP files. Please allow the following three options:
as a sticker,
as an image,
as a file.
The choice of “as an image” or “as a file” is currently controlled by the setting “compress images” for JPEG in Telegram Desktop. However, having in mind much faster generation loss of WebP (see https://youtu.be/FtSWpw7zNkI for a recent video example), Telegram should refrain from recompressing WebP to WebP unless the image exceeds certain limits (for example, “larger than a megabyte”, “larger than 1280×1280 pixels”, “bytes-to-pixels ratio larger than 1”, etc.); and that limits should be made known to the users.
Telegraph (the site, not the Graph Messenger) should also recognize the new abundance of WebP files and let its users upload WebP files or embed WebP by URL. The uploaded WebP files (like the already supported PNG uploads) should not be recompressed after upload or face worse limits than the usual 5 megabytes.
Also when it comes to »Profile Pictures«, the recompression of images is
aggressive and pretty useless after all.
Because apart from the small savings you get from the recompression, the
result just looks ugly.
This isn't nice especially if you have »Channels, Groups or Accounts« that
represent »something professional« – with profile images looking like crap!
My suggestions:
1. Find a very good WebP conversion algorithm that:
-» has a high image quality to file size ratio
-» is very resource efficient
Yes. It actually exists! More than one ;)
2. Define good standards for profile images
(values that both the user and the algorithm can use for image optimization;
if an image matches the standards, the algorithm won't touch it)
Telegram currently uses 640x640 pixels. Is there technical reasons? Or was 512 considered "too bad"?
3. Tell users how to make good profile pictures »properly«!
֍ NA0341 ֍
I didn't find this setting in Telegram Desktop 3.4.3 x64 - where exactly is it located?
(I'll attach a screenshot below this comment.)
I'd like to see Telegram treat images uniformly rather than this weird situation where webp images are considered stickers. The specific format of the the image isn't really relevant to the user viewing it.
I got "wrongful stickers" as recent as last week. I don't know all the details, the sender was able to work around that by using "another of" drag&drop/copy&paste/screenshot/saving to a temporary file.