Thank you for the Image compression option (experimental feature).
I have a few ideas for refine this feature.
Add more compression options (values stolen from a other messenger):
High quality (2 MP)
medium quality (1 MP)
low quality (0,4 MP)
original (unchanged)
ask everytime before sending
If this point is choosed, open a pop up window with the options to choose the size of the picture.
If you like you also can show in this window a checkmark (unchecked by default) remember this choice.
Background of this wish:
Sometimes I need a high quality pic (maybe in HD). And sometimes I only send only a funny pic with low priority.
And I don’t want go everytime to global settings.
you can send images using Attach / Files if you want to bypass the compression.
so, there is no need to go to the settings if you want to send a file uncompressed (which is is a bad idea in most situations, as it wastes a lot of data)
in general, adding options is not what we’re usually doing in Delta Chat. Delta Chat is meant for the non-advanced user, that does not even think about that. one would select “Good Quality” - because it sounds good - not thinking that it affects the receiver more than oneself (messages are more often downloaded than uploaded).
but of course, the given default should be as good as possible, and there is room for improvement, always.
EDIT: meanwhile, we have a low-bandwidth option at Chats / Outgoing Media Quality, used eg. in the Rain Forests, where messages are relayed with radio waves. Or in Cuba, or wherever you have a really bad network or super-expensive costs. we’re talking about messages needing minutes to go out here. the setting affects images as well as video and voice messages.
but for now, we do not want ot have more options there, for reasons pointed out above.
I also like the possibility to choose from more options to compress pictures. The advantage of DeltaChat in comparison to the other messenger is, that you have the pictures inmediately as email on your computer and you do not have to look it on the small Mickey Mouse screen of the phone. I like it to look at the pictures fullscreen on the computer and the screens are growing and growing … so I would like to have the possibility to have the pictures in higher resolution.
When having that feature we need to show the resulting size before sending.
Otherwise the users get surprised by an full email account or empty mobile data plan.
Also I would postpone this until we have (Addition of automatic media download feature, that feature was also mentioned in this thread by webratte).
This topic has been discussed widely and unfortunately the default compression algorithm is not really good.
Regarding your question: You can already achieve this by sending the image as a file. Then the original quality without any compression will be preserved (but also the original file size).
I also think there should at least be another “good” compression option in the list as well. I quote what I wrote in another thread about that:
Image compression
Another frustrating feature is the image compression. As I described here the default image compression “balanced” is showing visible compression artifacts (from a viewers perspective) and there’s no option to choose a less destructive compression level (apart from sending the original probably oversized file producing other problems).
I want to add that the argument of sending images as file in original quality (which was already repeated many times) as a workaround is not sufficient for most use cases.
The FAQ states about the default compression algorithm “This is ideal for everyday communication.” – and from my perspective this is not the case. The quality is worse than the default with any other messenger. I think they should be the reference when talking about everyday communication as billions of people are using them day by day. So an option which does compression but in a less destructive way could be a simple fix.
Sending pictures uncompressed comes also with another very bad downside: Storage limits on all sides
I don’t want to have 500MB wasted on ALL of my devices I use Delta Chat on just because a family member sent me all pictures of the last vacation as files because Delta Chats compression algorithm is too bad to send them as images. A normal compressed JPG has around 250 - 500KB, an uncompressed one 5-7 MB. That’s a huge difference.
EDIT:
I think I found the “issue” why the devs are not just implementing it. They would have to adapt the CORE library too. The quality settings in the Delta Chat Desktop client were changed 2 years ago and the compression does NOT take place there (I thought that before).
You can get a picture of how the compression is implemented by taking a look at these files:
They not only set a compression factor (jpeg_quality) but also a target file size (max_bytes) (which should not be exceeded) and a target resolution (target_wh), see
Also the image quality is hardcoded to 75 (85 would be my selection for good results):
An argument why they might have choosen this can probably be found in this comment:
So for now I don’t expect a “quick fix” by the devs because they would have to adapt the core library for that.
for the scepticism of adding options, everything is said above.
So for now I don’t expect a “quick fix” by the devs because they would have to adapt the core library for that.
well, in fact, there are quite some image improvements done the last weeks or on the way, see Pull requests · chatmail/core · GitHub - all improving within the given constraints, which are similar to eg. telegram, btw.
it seems also be possible to improve rendering of big screenshots as Image optimization - #6 by SWEETGOOD, that should be regarded more as a bug, as the 500k are not used.