-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
Allow sending pictures up to 2560px #1790
base: master
Are you sure you want to change the base?
Conversation
Ok |
This increases the initial texture buffer allocation by significant amount in painting screen. You might want to apply this increase only for photos that are already that size or larger. Considering reports of |
Waiting for this feature as currently photos quality in TG is terrible and TG gallery works ugly with photos which uploaded as files |
As far as I can see, this functionality is already implemented: Telegram/TMessagesProj/src/main/java/org/telegram/messenger/MessageObject.java Lines 8531 to 8536 in d494ea8
It will use actual image size if size is not bigger then 2560px, if it is bigger it will downscale image to 2560px. |
Still waiting for this feature and suffering with overcompressed images.. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Like
This PR will allow sending pictures up to 2560px.
Telegram API already allows to send photos with that size.
Telegram Desktop and some android client forks (e.g. Nekogram) also supports this.
There is also bug report for this: https://bugs.telegram.org/c/15370