Hello,

It is possible to implement this module: OPTIMAGE
https://github.com/sk-/optimage
The compression of images is amazing.
Here are benchmarks:
https://optimage.app/benchmark
I don't have clue how internal calibre compression works, but I observe I can compress the picture further more. It will be huge size saver and big benefit for people with huge libraries.