Adjustments
Fine-tune image properties. All adjustments accept values from -100 to 100.
Brightness
editor.brightness(value: number); // -100 to 100| Value | Effect |
|---|---|
| -100 | Completely dark |
| 0 | No change |
| 100 | Completely bright |
Contrast
editor.contrast(value: number); // -100 to 100Saturation
editor.saturation(value: number); // -100 to 100Exposure
editor.exposure(value: number); // -100 to 100Temperature
editor.temperature(value: number); // -100 to 100Combined Example
// Portrait enhancement
editor
.brightness(5)
.contrast(10)
.saturation(-5)
.temperature(10);