BeautyOptions
Beauty effect options.
export class BeautyOptions {
lighteningContrastLevel?: LighteningContrastLevel;
lighteningLevel?: number;
smoothnessLevel?: number;
rednessLevel?: number;
sharpnessLevel?: number;
}
Properties
- lighteningContrastLevel
- Contrast level, usually used with
lighteningLevel. The higher the value, the greater the contrast. See LighteningContrastLevel. - lighteningLevel
- Whitening level. Value range is [0.0,1.0], where 0.0 means original brightness. Default is 0.0. The higher the value, the greater the whitening effect.
- smoothnessLevel
- Smoothing level. Value range is [0.0,1.0], where 0.0 means original smoothness. Default is 0.0. The higher the value, the smoother the skin.
- rednessLevel
- Redness level. Value range is [0.0,1.0], where 0.0 means original redness. Default is 0.0. The higher the value, the redder the skin tone.
- sharpnessLevel
- Sharpening level. Value range is [0.0,1.0], where 0.0 means original sharpness. Default is 0.0. The higher the value, the sharper the image.