Updated on 2024-02-29 GMT+08:00

Brightness

You can use the GUI, code, or APIs to configure the brightness of an image.

Table 1 lists the parameters in detail.

Operation name: bright

Table 1 Brightness description

Parameter

Value Description

Code Example

value

Brightness of images, ranging [-100, 100].

The original brightness value is 0. The image becomes brighter as the value increases from -100 to 100.

image/bright,50

Example

  • Set the brightness to 50.

https://obs.region.example.com/image-demo/example.jpg?x-image-process=image/bright,50

  • Set the brightness to -50.

https://obs.region.example.com/image-demo/example.jpg?x-image-process=image/bright,-50