Optimize large images size before sending them
In order to optimize transfering time and storage size, large images like pictures taken from the camera, should be downscaled and re-encoded with efficient compression/codec by default before being sent.
Once the image has been chosen on the file manager and before sending it, a popup window could let the option of sending the image in its original size.
Downscale should be done within a 2000x2000px box based on the following rules :
- If an image's width is greater than its height and its width is greater than 2000px, then the image is downscaled with the same aspect ratio to a width of 2000px.
- If an image's height is greater than its width and its height is greater than 2000px, then the image is downscaled with the same aspect ratio to a height of 2000px.