cropImages(params: Object)
Requires:
BaseKit≥3.14.2@ray-js/ray≥1.5.30
Platforms:
iOSAndroid
Description
Image cropping
Parameters
| Property | Type | Required | Description |
|---|---|---|---|
| No | Path of the image to crop | ||
complete | () => void | No | Completion callback (executed on both success and failure) |
success | (params: Object) => void | No | Callback on successful API call |
fail | (params: Object) => void | No | Failure callback |
success callback parameters
| Property | Type | Description |
|---|---|---|
fileList | string[] | List of output image paths after cropping |
fail callback parameters
| Property | Type | Description |
|---|---|---|
errorMsg | string | Error message |
errorCode | string | number | Error code |
| Error extension |
Return Value
None