Image Conversion
Convert a given image to another format.
Body
bufferstring · byte[]Optional
originalFormatstring · enumOptionalPossible values:
toFormatstring · enumOptionalPossible values:
resolutioninteger · int32Optional
Resolution of the original image
Responses
200
Convert image ok
application/json
400
Parameters validation error
application/json
403
Access denied
application/json
500
System error
application/json
post
POST /gbs-intelligence-server/service/image/convert HTTP/1.1
Host: localhost:8083
Content-Type: application/json
Accept: */*
Content-Length: 78
{
"buffer": [
"Ynl0ZXM="
],
"originalFormat": "RAW",
"toFormat": "RAW",
"resolution": 1
}
{
"status": "OK",
"code": 1,
"image": {
"buffer": [
"Ynl0ZXM="
],
"originalFormat": "RAW",
"toFormat": "RAW",
"resolution": 1
}
}