-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Offer down-sizing when uploading large images #4144
Comments
See also #2678 |
Is it tractable to solve #2678? |
That is really missing on desktop compare to android app. |
Any news on this? Just realized today the inconsistency between the Android app and Element-Web on image uploads. |
Seconded - when using different chats and pasting for different audiences, an automatic downsampling would be much appreciated. |
It is problem, when send big image to mobile clients over element-desktop. Mobile clients said that they get too long time for get images "in matrix", situation was otherwise whatsapp and other - they was more usable. |
Pasting Images on Element Web is another use case of compression because Images from "clipboard" are pasted as uncompressed png's. Compressing them to jpeg's (with lower resolution) would be super convenient! |
It's trivial to compress images to jpgs using the canvas element... can we start here? Anyone know a script we can run on a self-hosted server to accomplish this? |
Related; element-hq/element-ios#4479, they're kinda struggling with the same problem, and ios already has pre-existing design/heuristics for this. Plus it's mentioned that android has as well. |
Adding a server-side component to Element would be a no-go. This would need to be local given the nature of end-to-end encrypted messaging. |
Someone just sent me a screenshot of a game, by pasting the screenshot in Element Desktop. It was a 4K screenshot. The resulting png-compressed image was 15MiB, which is now stored for a really long time on both our servers. The same information could have been conveyed by a 150KiB lossy WebP, even at 4K resolution; there was no need for a lossless image here. Microsoft Teams smashes every pasted image down to an ugly jpeg, even when png would be smaller (let alone lossless webp), which is also a bad decision. However, when pasting large images, some more options would be welcome. A default action of scaling it down to HD with lossy WebP compression would be fine in my book. |
Closing in favour of #14047 |
Like Riot Android does.
In encrypted rooms, large images can be a huge nuisance.
The text was updated successfully, but these errors were encountered: