Open ttpro1995 opened 6 years ago
Hi! There's no real API, it's just a GET request to the endpoint with a few URL params:
url
- URL to the source image
webp
- when set to 1 convert to webp, otherwise to jpeg
grayscale
- when set to 1 convert to greyscale, otherwise keep color
quality
- compressions quality, higher is better, e.g. 90 is high quality, 30 is low quality
you can see the requests in chrome dev tools network tab, when extension is enabled.
Hi @ayastreb , I think I would need API documentation (how to make request with postman, ...). I would like to make another application that would use my bandwidth-hero-proxy as a mean of image compression. However, I am not good at nodejs to read the source code.