Lower compression for sent pictures
It would be nice if pictures which are sent over the data channel aren't so highly compressed.
Why? Compressing/Decompressing doesnt use that much CPU as it would make any significant difference.
Are we talking about lossy compression?
Here's a photo I took earlier and this is what it looked like after sending it via TextSecure. I only realised something was up when the recipient asked me where the event was - the poster isn't even readable :(
I'm having this same issue. A friend sent an image with small text in it, readable on the original image, but completely obscured after he sent it to me.
This has been an issue for quite a while for me. I use TextSecure for SMS, but have to disable it and use the stock app for MMS due to the heavy compression.
I sent a 1.3MB image to a friend, it gets compressed to 70kB when he receives it, unencrypted, encrypted, sent, received... all gets compressed
I meant the compression of the picture itself, not the client server compression (didn't know that tectsecure also compresses the transfer). As the others explained the pictures are pixelated once sent/received. People are used to get compressed pictures (WhatsApp), but the picture should be compressed in a moderate way.
+1 for higher resolution images, although in my opinion it's not a high priority feature
currently experiencing the same problem, making sharing of text pages not enjoyable
+1
Yeah, TextSecure does seem to do some excessive resizing/compression before sending. This is especially not required in the push case.
So @moxie0 what would the maximum size of pictures be that you would "allow" on the server? After all, you are currently providing the storage space for them...
+1 on this as well for me. it's actually much worse than I thought after examining a photo last night. Wasn't there discussion on raising the limit of an attachment size if sent over push/data?
There is a 'media' branch here that handles this correctly, we just need a few things from @mcginty on it.
@shmartens : other messengers like WhatsApp also reduce the size of the picture. This actually is a good feature because mobile data plans are sometimes very limited. The problem with TextSecure (compared to WhatsApp) is that:
- The image resolution is even lower. It seems to be just 360x480, which is very low for today's usual 4"-5" smartphone displays.
- The used algorithm for resizing seems to be low end
What about an option to set the picture size, like Threema do this? Not everyone has a very limited data plan (5GB per month).
It's not unreasonable to resize the image, even though I have a large plan there's very little value in sending my photos at full resolution - it takes a lot longer as well as eating data, and in most cases the image will only be viewed on a phone screen so preserving the original res doesn't add anything.
The resizing algorithm does seem to be a bit worse than WhatsApp - their images are much higher quality but not much larger in bytes. Here's the results from my very unscientific testing with a sample size of one:
| Service | Resolution | File size | Subjective quality |
|---|---|---|---|
| Original | 2448 x 3264 | 2 253 kB | 5/5 |
| TextSecure | 360 x 480 | 88 kB | 1/5 |
| 612 x 816 | 100 kB | 3/5 | |
| MMS | 435 x 580 | 145 kB | 1/5 |
For what my $0.02 are worth, I don't think an option to change the size is that useful - as long as it doesn't use huge amounts of data and doesn't look terrible, I don't really care and don't think most people would.
I prefer that my images are not manipulated. The stock MMS app does not resize my pics (that I am aware of.) Why would I want textsecure to do that? If I want them resized, I will resize them before sending them.
@zofrex With size I mean the resolution, because the current is too low. All pictures with text in it are waste. When the compression is good enough without artifacts, should it be all right for me.
@wx0b MMS apps typically compress images very harshly (even my feature phones did this), I've updated my results with the stock Messaging app to my table.
@wx0b Manual resizing of pictures before sending them is the most uncomfortable thing I can imagine in a mobile messenger app. It needs at least twice the time in a point, shoot and send situation. Also common users even have no idea how to do it. I'd rather add another option "Send picture (uncompressed)" to the attachment menu. But also on the receiver side I would not want my app to autmatically download uncompressed images and waste my limited data plan.
@KayuHD Currently pictures with text in it are not the only problem. A usual wide anglöe picture with some details looks horrible, too. IMHO a resolution of 1024x768 with a better resizing algorithm would be a good compromise :)