Image Contrast
Updated at:2025-11-03
Overview
Contrast refers to the difference in brightness levels between the lightest white and the darkest black in an image's light and dark areas, representing the degree of grayscale contrast within the image.
Brightness parameters
Action name: contrast
| Parameters | Value | Description |
|---|---|---|
| c | -100 - 100 | Value < 0: Decrease image contrast. Value = 0: Keep the original image contrast. Value > 0: Enhance image contrast. |
Example
- Contrast reduced by 50
https://doc.bce.baidu.com/bce-documentation/BOS/image.jpg?x-bce-process=image/contrast,c_-50

- Contrast increased by 10
https://doc.bce.baidu.com/bce-documentation/BOS/image.jpg?x-bce-process=image/contrast,c_10

