tdesktop icon indicating copy to clipboard operation
tdesktop copied to clipboard

Add support for WEBP format similar to JPG. [Feature Request]

Open LXS1986 opened this issue 4 years ago • 7 comments

Is your feature request related to a problem?

When I drag and drop a WEBP file into the application window, it is attached as a file, not as a picture (as in the case of other formats)

Describe the solution you'd like

When you drag an image in WEBP format onto the window of the Telegram application, it automatically detects it as a picture.

Describe alternatives you've considered

I open the image in an editor and copy the content to the clipboard, then paste the image from the clipboard into the message box.

Additional context

No response

LXS1986 avatar Oct 24 '21 04:10 LXS1986

Still relevant and annoying when I trying to send webp images and they sending as stickers

Neurotoxin001 avatar Nov 09 '22 21:11 Neurotoxin001

@Neurotoxin001 Wanna test the feature in "early access" build?

https://github.com/telegramdesktop/tdesktop/actions/runs/3438213341

23rd avatar Nov 10 '22 17:11 23rd

@23rd

https://user-images.githubusercontent.com/39812401/201164265-d1e479a2-eb24-4efc-b1cc-ab770579cb43.mp4

it's working fine but when I drag&drop webp it's always have unchecked "compress images" checkbox. When I copy-paste webp file from clipboard it's remembers that checkbox. But when I send webp without "compress" it's still sending as sticker, not as document

Neurotoxin001 avatar Nov 10 '22 17:11 Neurotoxin001

But when I send webp without "compress" it's still sending as sticker, not as document

I think that behavior is intended and never will be changed.

23rd avatar Nov 10 '22 17:11 23rd

Another build. Would appreciate testing with various file types.

https://github.com/telegramdesktop/tdesktop/actions/runs/3439996307

23rd avatar Nov 10 '22 21:11 23rd

Now it's have 2 "drop" options like jpg's/png's etc image

various file types

But what you mean? All old images formats working as before

Neurotoxin001 avatar Nov 11 '22 07:11 Neurotoxin001

If I send webp+jpg they sending fine too in all cases

Neurotoxin001 avatar Nov 11 '22 08:11 Neurotoxin001

Released https://github.com/telegramdesktop/tdesktop/commit/3467fe226ff0e640d4ed68d642a7e710c352562c

Neurotoxin001 avatar Nov 22 '22 22:11 Neurotoxin001

When will the Microsoft Store version be updated? Now version 4.2.4 x64 is being loaded from there.

LXS1986 avatar Nov 25 '22 12:11 LXS1986