Options
All
  • Public
  • Public/Protected
  • All
Menu

Class BeautyOptions

Sets the image enhancement options.

Hierarchy

  • BeautyOptions

Index

Constructors

constructor

  • new BeautyOptions(params?: undefined | { lighteningContrastLevel?: LighteningContrastLevel; lighteningLevel?: undefined | number; rednessLevel?: undefined | number; sharpnessLevel?: undefined | number; smoothnessLevel?: undefined | number }): BeautyOptions
  • Parameters

    • Optional params: undefined | { lighteningContrastLevel?: LighteningContrastLevel; lighteningLevel?: undefined | number; rednessLevel?: undefined | number; sharpnessLevel?: undefined | number; smoothnessLevel?: undefined | number }

    Returns BeautyOptions

Properties

Optional lighteningContrastLevel

lighteningContrastLevel: LighteningContrastLevel

The contrast level, often used in conjunction with lighteningLevel. The higher the value, the greater the contrast level. See LighteningContrastLevel.

Optional lighteningLevel

lighteningLevel: undefined | number

The brightening level, in the range [0.0,1.0], where 0.0 means the original brightening. The default value is 0.6. The higher the value, the greater the brightening level.

Optional rednessLevel

rednessLevel: undefined | number

The redness level, in the range [0.0,1.0], where 0.0 means the original redness. The default value is 0.1. The higher the value, the greater the redness level.

Optional sharpnessLevel

sharpnessLevel: undefined | number

The sharpness level, in the range [0.0,1.0], where 0.0 means the original sharpness. The default value is 0.3. The higher the value, the greater the sharpness level.

since

v3.6.2

Optional smoothnessLevel

smoothnessLevel: undefined | number

The smoothness level, in the range [0.0,1.0], where 0.0 means the original smoothness. The default value is 0.5. The higher the value, the greater the smoothness level.

Generated using TypeDoc