fluffychat
fluffychat copied to clipboard
When sending an image with "Send Image", the file-size can be considerably larger than the original
Bug Description
I sent an image with the "Send Image"-function, and did choose to not send the original, so that the file-size will be smaller. However, the file-size doubled from 700KB to 1400KB after sending it with FluffyChat.
The image that i sent, already was resized to an appropriate resolution (1600 Pixels on the long sides), using compression with a high quality (JPG, Quality 95, 4:4:4 subsampling, converted with the GNU Image Manipulation Program).
Wether or not the size increases, depends on the image, so here is a test-image, and the result after sending it with "Send Image":
Test-images (~3 MB file-size)
Original (0,95 MB - JPG, quality 95, 4:4:4 subsampling, converted with the GNU Image Manipulation Program)
After sending it with "Send Image" (1.9 MB)
Steps to Reproduce
- Open a chat.
- Send the test-image attached to this issue with "Send Image".
- Make sure that "Send Original" is off.
- Tap/Click on the sent image in the chat.
- Download the sent image with the button for that.
- Compare the file-size of the downloaded image with the original.
Expected Behavior
The converted image should at most be the same size as the original. It should either be compressed more until the size is smaller than the original, or the original image-data should be used instead, to keep the best quality, without increasing the size.
App Version
1.22.0 (Flatpak)
Additional Platform Information
Debian GNU/Linux Testing (Trixie)
Additional Context
No response