Implement image compression to save space, be it automatic or not [to webp, avif etc.]

(#1285) Feature Open: Under consideration media performance

Thread

Comment by BiosPlus
Adding on my 2c. jxl (jpegXL) is going to be supported in a way where images encoded with it will be compatible with older technology. The strides that it's made in terms of lossless progression and the fact that copying -> re-encoding the image into jxl again results in a like for like copy means that deduplication of images on a server basis is going to be more effective.