Image Brightness
Last Updated:2021-09-13
Overview
This document introduces the image brightness operation.
Brightness Parameters
Action name: bright
Parameters | Value | Description |
---|---|---|
b | -100 - 100 | Set the image brightness. When the value is less than 0, the image darkens. When the value is equal to 0, the image brightness remains unchanged. When the value is greater than 0, the image brightens. |
Example
- Darken the image with the parameter -5:
https://doc.bce.baidu.com/bce-documentation/BOS/image.jpg?x-bce-process=image/bright,b_-5
- Brighten the image with the parameter 5:
https://doc.bce.baidu.com/bce-documentation/BOS/image.jpg?x-bce-process=image/bright,b_5