API URL
/api/codec/codec/GetCrop.json
Request
Method:GET/POSTParameters: NONE
Response
Example:
{
"result": "ok", "data": { "enable": false, "s32Y": 25, "u32Width": 50, "u32Height": 50, "s32X": 25 }}
Data 字段说明:
Field | Value | 说明 |
---|---|---|
enable | [Boolean] | true/false 表示是否开启裁切功能 |
s32Y | [Integer] | [0,100]表示纵向偏移百分比 |
s32X | [Integer] | [0,100]表示横向偏移百分比 |
u32Width | [Integer] | [0,100]表示裁切宽度百分比 |
u32Height | [Integer] | [0,100]表示裁切高度百分比 |