Setting Image Effects
Setting the Brightness
You can use the GUI or code mode on OBS Console or make an API call to adjust the brightness of an image.
Table 1 describes the parameters.
This operation is represented by bright.
Setting the Contrast
You can use the GUI or code mode on OBS Console or make an API call to adjust the contrast of an image.
Table 2 describes the parameters.
This operation is represented by contrast.
Setting the Sharpness
You can use the GUI or code mode on OBS Console or make an API call to adjust the sharpness of an image.
Table 3 describes the parameters.
This operation is represented by sharpen.
Setting the Blur
You can use the GUI or code mode on OBS Console or make an API call to adjust the blur of an image.
Table 4 describes the parameters.
This operation is represented by blur.
Parameter |
Value Description |
Code Example |
---|---|---|
r |
It represents the blur radius. Its value ranges from 1 to 50. A larger radius means a larger blurred area. |
image/blur,r_3,s_2 |
s |
It represents the standard deviation of normal distribution. Its value ranges from 1 to 50. A large standard deviation significantly blurs, while a small standard deviation blurs less. |
In GUI mode, the parameter r and s increase or decrease simultaneously.
Setting the Grayscale
You can edit code on OBS Console or make an API call to convert an image to grayscale.
Table 5 describes the parameters.
This operation is represented by colorspace.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot