Updated on 2024-02-29 GMT+08:00

Blur

You can use the GUI, code, or APIs to configure the blur of an image.

Table 1 lists the parameters in detail.

Operation name: blur

Table 1 Blur description

Parameter

Value Description

Code Example

r

Radius of blur, ranging [1, 50].

A larger radius leads to a larger blurred area.

image/blur,r_3,s_2

s

Standard deviation of normal distribution, ranging [1, 50].

The image becomes more blurred as the value increases.

In GUI mode, the parameter r and s increase or decrease simultaneously.

Example

  • Set r to 3 and s to 2.

    https://obs.region.example.com/image-demo/example.jpg?x-image-process=image/blur,r_3,s_2