If chromatic aberration or blurred images due to camera settings or device compatibility occur, you can use the feature provided by Alibaba Cloud CDN to change the brightness, contrast, and sharpness of images to improve image resolution and visual effects.
Parameters
The following table describes the parameters.
Parameter | Description | Valid value |
bright | The percentage by which you want to adjust the image brightness. | [-100, 100]
|
contrast | The contrast of the image. | [-100,100]
|
sharpen | The sharpness of the image. | [50,399] A greater value specifies a clearer image. However, an excessively large value may result in image artifacts. We recommend that you use the following values: 50, 100, 150, 200, 250, and 300. |
Examples
Sharpen an image by setting the sharpen parameter to 100. The request URL is
http(s)://example.com/image01.png?image_process=sharpen,100
.Increase the brightness of the image by 50. The request URL is:
http(s)://example.com/image01.png?image_process=bright,50
.Reduce the contrast of the image by 50. The request URL is
http(s)://example.com/image01.png?image_process=contrast,50
.