# Set Picture Adjustment Information

This API endpoint allows you to set the picture adjustment settings for a screen.

# Request Path

{CLTPlatform-ip}:8086/processor/setPictureAdjustment

  • Replace {CLTPlatform-ip} with the corresponding IP address.
  • The request port is 8086.

# Protocol

HTTP

# Method

POST

# Request Parameters

  • Set the Content-Type of the request body to application/json.
Parameter Name Description Required Type Data Dictionary Restriction Example
command Command type Yes string - - processor/setPictureAdjustment
data Data Yes object - - -
data >> index Sender index (starts from 0, -1 for broadcast) Yes int - - -
data >> groupIndex Screen group index Yes int - - -
data >> bEnable Enable state Yes boolean - - -
data >> hue Hue (-30~30, step 0.25) Yes float - - -
data >> saturation Saturation (0~200, step 1) Yes int - - -
data >> compensation Brightness compensation (-30~30, step 1) Yes int - - -
data >> contrast Contrast (0~200, step 1) Yes int - - -
data >> sharpness Sharpness (0~100, step 1, supported by X2M/X4M only) Yes int - - -

# Request Example

{
    "command": "processor/setPictureAdjustment",
    "data": {
        "index": 0,
        "groupIndex": 0,
        "bEnable": false,
        "hue": 0.0,
        "saturation": 0,
        "compensation": 0,
        "contrast": 0,
        "sharpness": 0
    }
}

# Response

Parameter Name Description Required Type Data Dictionary Restriction Example
command Command type Yes string - - processor/setPictureAdjustment
code Status code Yes int - - -
message Message Yes string - - -
data Data Yes object - - -

# Response Example

{
    "code": 20000,
    "command": "processor/setPictureAdjustment",
    "data": {},
    "message": "Common_Success"
}

# Detailed Description