There is a new endpoint from Cloudinary where you can upload an image and it will give you information about other formats. It is currently not supported in the npm package but it's available in one of the branches. We should look into adding support for it.
Because we only need to upload images maybe we can remove the dependency on the package and have our own version.
I'll update this issue once I've explored a bit more the code.
@AndrewCraswell
Do you have a link to this? I was already thinking about building a desktop tool to "scan" images by just uploading them to Cloudinary and downloading the optimized version, but this sounds more interesting. Would love to have similar functionality built into Sonarwhal...
My plan is to start working on this in January (trying to finish #142 and #12 and some other items) but if you want to submit a PR before that would be awesome.
Originally reported by @molant in https://github.com/webhintio/hint/issues/658
@molant
@AndrewCraswell
@molant