Color getting messed up sending pictures
ozzi- opened this issue · 3 comments
ozzi- commented
Bug Description
When sending images on Threema Web, the colors get messed up (as in loose "vibrancy")
Steps to Reproduce (for bugs)
- Create PNG and fill it with grey (127,127,12)
- Send it via Threema Web
- Download it again
- The color is now (124,124,124)
Sending said saved image and sending it again, will result in 121,121,121
The same behavior can be seen on JPGs, where the degradation isn't as deterministic though.
Your Environment
- Threema Web version: 2.3.11 Säntis
- Threema App version: 4.5.1 B 669 - Threema Shop
- Browser name and version: Firefox 86.0.1
- Computer operating system and version: Win 10 - 2004
- Smartphone operating system and version: Xiaomi A3, Android 11
ozzi- commented
threema-danilo commented
The reason is that the Threema protocols always sends image messages as JPEG. This is a choice that works very well for photos, but unfortunately not for PNGs. You are seeing the results of its compression.
To avoid this, send thte image as file by checking the "send as file" checkbox. In that cases, the image will not be re-encoded and will be sent as-is.
ozzi- commented
oh that explains a lot, thanks for the tip with "send as file"