Interface BeautyEffectOptions

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

Hierarchy

  • BeautyEffectOptions

Index

Properties

Optional lighteningContrastLevel

lighteningContrastLevel: 0 | 1 | 2

Optional lighteningLevel

lighteningLevel: undefined | 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.

Optional rednessLevel

rednessLevel: undefined | 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.

Optional smoothnessLevel

smoothnessLevel: undefined | 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.