Google's Squoosh image compression tool as an API. Resize, compress and convert your images to mozjpeg, webp and oxipng.