Contrast

This function is available for GUI, Code, and API calling mode.

Table 1 lists the parameters in details.

Operation name: contrast

Table 1 Contrast description

Parameter

Value Description

Code Example

value

Contrast of images, ranging [-100, 100].

The original contrast value is 0. The contrast becomes stronger as the value increases from -100 to 100.

image/contrast,-50

Example

  • Set the contrast to -50.

https://obs.cn-north-1.myhwclouds.com/ya89soshla6s4uma-ims-example-cn-north-1/example.jpg?x-image-process=image/contrast,-50

Registration