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

Sharpening

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

Table 1 lists the parameters in detail.

Operation name: sharpen

Table 1 Sharpen description

Parameter

Value Description

Code Example

value

The extent of sharpening, ranging [50 to 399]

50 leads to the weakest sharpening effect. The recommended value is 100 for optimized effect. The image becomes clearer as the value increases. However, the image may look unreal if you set the value too high.

image/sharpen,100

Example

  • Set the sharpening value to 100.

https://obs.region.example.com/image-demo/example.jpg?x-image-process=image/sharpen,100