Interface BeautyEffectOptions

Image enhancement options. You need to set the image enhancement options when calling [setBeautyEffect]setBeautyEffect.

Hierarchy

  • BeautyEffectOptions

Properties

lighteningContrastLevel?: 0 | 2 | 1
lighteningLevel?: number

The brightness level.

The value range is [0.0, 1.0]. The original brightness level is 0.0. The default value is 0.7.

rednessLevel?: number

The redness level.

The value range is [0.0, 1.0]. The original redness level is 0.0. The default value is 0.1. This parameter adjusts the red saturation level.

smoothnessLevel?: number

The smoothness level.

The value range is [0.0, 1.0]. The original smoothness level is 0.0. The default value is 0.5. This parameter is usually used to remove blemishes.

Generated using TypeDoc