Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GIF compression #646

Open
Sarisan opened this issue Oct 6, 2024 · 3 comments
Open

GIF compression #646

Sarisan opened this issue Oct 6, 2024 · 3 comments

Comments

@Sarisan
Copy link

Sarisan commented Oct 6, 2024

InlineQueryResultGif and sendDocument both compress GIF passed with URL. Can this annoying behavior be disabled any way?

@levlam
Copy link
Contributor

levlam commented Oct 7, 2024

No. All animations are intended to be played in MP4 format, which can provide the same or better quality with much smaller file size.

@Sarisan
Copy link
Author

Sarisan commented Oct 7, 2024

No. All animations are intended to be played in MP4 format, which can provide the same or better quality with much smaller file size.

Provide the compression option then where user can pick the quality like in android client. Or turn this compression off since either of clients degrades quality during GIF to MP4 conversion.

@levlam
Copy link
Contributor

levlam commented Oct 7, 2024

This is not related to upload by URL and is better to be requested at https://suggestions.telegram.org on per-client basis. All mobile apps convert uploaded GIF to MP4 even before it is sent to Telegram servers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants