I need a mechanism that will allow image optimization on Google PageSpeed Insights level.
How it should work: user uploads up to n images to the website and what he gets back are the same images optimized ready to download (the same names, not compressed into single zip file). The optimization should not decrease image quality and HAVE TO work as well as Google PageSpeed Insights!
For example this image:
[login to view URL] should be compressed for about 30 KB (82%).
The mechanism should use Google PageSpeed Insights servers as its extention does
See: [login to view URL]
[login to view URL]