Adjustments

Fine-tune image properties. All adjustments accept values from -100 to 100.

Brightness

editor.brightness(value: number); // -100 to 100
ValueEffect
-100Completely dark
0No change
100Completely bright

Contrast

editor.contrast(value: number); // -100 to 100

Saturation

editor.saturation(value: number); // -100 to 100

Exposure

editor.exposure(value: number); // -100 to 100

Temperature

editor.temperature(value: number); // -100 to 100

Combined Example

// Portrait enhancement
editor
  .brightness(5)
  .contrast(10)
  .saturation(-5)
  .temperature(10);