This topic describes the parameters and examples to adjust the brightness for an image.

Parameters

Operation name: bright

The following table lists the parameters.

Parameter Description Valid value
[value] The brightness of the image. [-100, 100]

A value of 0 indicates the brightness of the source image. A value smaller than 0 indicates the brightness lower than that of the source image. A value greater than 0 indicates the brightness higher than that of the source image.

Examples

  • Increase the brightness of an image.

    The URL used to process the image is in the following format: <Source image URL>? x-oss-process=image/bright,50

  • Scale down an image to 200 px in width. Increase its brightness.

    The URL used to process the image is in the following format: <Source image URL>? x-oss-process=image/resize,w_200/bright,50