Continuing the discussion from Optimize images before uploading?:
This is a RFC for opt-in image compression/resize/optimization on the client side before the upload process. This will be experimented with using a theme-component. If proven useful, we will consider adding this feature in core for 2.8.
Users will be able to control client side optimization via a simple checkbox in the upload modal
At first we will experiment optimizing JPEGs, which are the most common uploads from users smartphones.
Our component will re-size the user upload if it’s larger than the max configurted size and re-encode it using MozJPEG.
In my tests this takes <10s in a mid-range Android phone, and compresses a typical photo to less than 30% of it’s original size.
Resized to 50% + Optimized