BeautyOptions
Image enhancement options.
public class BeautyOptions { public static final int LIGHTENING_CONTRAST_LOW = 0; public static final int LIGHTENING_CONTRAST_NORMAL = 1; public static final int LIGHTENING_CONTRAST_HIGH = 2; public int lighteningContrastLevel; public float lighteningLevel; public float smoothnessLevel; public float rednessLevel; public float sharpnessLevel; }
Attributes
- lighteningContrastLevel
-
The contrast level, used with the lighteningLevel parameter. The larger the value, the greater the contrast between light and dark.
- LIGHTENING_CONTRAST_LOW(0): Low contrast level.
- LIGHTENING_CONTRAST_NORMAL(1): Normal contrast level.
- LIGHTENING_CONTRAST_HIGH(2): High contrast level.
- lighteningLevel
-
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 degree of brightening.
- smoothnessLevel
-
The smoothness level, in the range [0.0,1.0], where 0.0 means the original smoothness. The default value is 0.5. The greater the value, the greater the smoothness level.
- rednessLevel
-
The redness level, in the range [0.0,1.0], where 0.0 means the original redness. The default value is 0.1. The larger the value, the greater the redness level.
- sharpnessLevel
-
The sharpness level, in the range [0.0,1.0], where 0.0 means the original sharpness. The default value is 0.3. The larger the value, the greater the sharpness level.