ColorEnhanceOptions

Color enhancement configuration options.

struct ColorEnhanceOptions {
  float strengthLevel;
  float skinProtectLevel;
};
Since
Added since v4.0.0.

Properties

strengthLevel
Color enhancement level. Range [0.0, 1.0].
  • 0.0: Default, no color enhancement.
  • The higher the value, the stronger the color enhancement.
Default is 0.5.
skinProtectLevel
Skin tone protection level. Range [0.0, 1.0].
  • 0.0: Disable skin tone protection.
  • The higher the value, the stronger the protection.
Default is 1.0.
  • When the color enhancement level is high, facial skin tones may be distorted. It is recommended to set an appropriate skin protection level.
  • When the skin protection level is high, the color enhancement effect may be slightly reduced.
To achieve the best result, adjust strengthLevel and skinProtectLevel based on actual needs.