API: Converting an image to another format
Converts an image of almost any format to either JPEG or PNG.
Request
POST /process/convert?input=0a6677...&outputFormat=PNG
input | The input image ID. |
outputFormat | The desired output format. Valid formats are PNG and JPEG. |
outputQuality | The desired JPEG compression quality, an integer between 50 and 100. The default value is 95 (high quality). Values below 85 may lead to visible compression artefacts. |
Response
200 OK
{ "output": "f33608...", "outputFormat": { "extension": "jpeg", "mimeType": "image/jpeg", "quality": 95 } }
output | The produced image. |
outputFormat |
The format of the output image:
|