You can use blur parameters to blur a source image stored in OSS. This topic describes the parameters and examples to blur an image.
Parameters
Operation name: blur
The following table lists the parameters.
Parameter | Description | Valid value |
---|---|---|
r | The blur radius. | [1,50]
A greater value indicates a blurrier image. |
s | The standard deviation of a normal distribution. | [1,50]
A greater value indicates a blurrier image. |
Examples
The image-demo bucket that is located in the China (Hangzhou) region is used as an example. Public endpoint of the image:
Set the radius to 3 pixels and standard deviation to 2 pixels. The URL used to process
the image is in the following format: https://image-demo.oss-cn-hangzhou.aliyuncs.com/example.jpg?x-oss-process=image/blur,r_3,s_2
