This function resizes a specified image.
Important:
When you disable the WebServer role, the system disables this function.
uapi --output=jsonpretty \ --user=username \ ImageManager \ resize_image \ image_file='images/image.jpg' \ width='200' \ height='300'
{- "apiversion": 3,
 - "func": "resize_image",
 - "module": "ImageManager",
 - "result": {
- "data": "/home/cptest1/images/myimage.jpg",
 - "errors": null,
 - "messages": null,
 - "metadata": { },
 - "status": 1,
 - "warnings": null
 
} 
}