Parameters
Uniformly lighten or darken the image by adjusting all pixels equally.Range:
-100 to 100Default: 0Adjust brightness based on each pixel’s current luminosity, affecting bright pixels more than dark pixels.Range:
-100 to 100Default: 0How it works
Bunny Optimizer provides two methods for adjusting image luminosity: Brightness: Applies a uniform adjustment to every pixel. Increases or decreases all pixel values by the same amount, which can quickly clip highlights (lose whites) when brightening or crush shadows (lose blacks) when darkening. Gamma: Applies a non-linear adjustment based on each pixel’s current luminosity. Bright pixels are affected more than dark pixels, which mimics how human vision perceives brightness. This better preserves detail in both highlights and shadows.Usage
Brightness adjustment
Uniformly lighten or darken all pixels in the image. The adjustment affects each pixel equally regardless of its current value.Original
| brightness=0 | brightness=15 | brightness=-15 |
|---|---|---|
![]() | ![]() | ![]() |
Lighten significantly
| brightness=0 | brightness=30 |
|---|---|
![]() | ![]() |
Darken significantly
| brightness=0 | brightness=-30 |
|---|---|
![]() | ![]() |
Brightness adjustments affect all pixels uniformly. High positive values can
cause bright areas to lose detail (blown highlights), while high negative
values can cause dark areas to lose detail (crushed blacks).
Gamma correction
Adjust brightness based on luminosity values, affecting bright pixels more than dark ones. This creates more natural-looking adjustments that preserve detail in both highlights and shadows.Original
| gamma=0 | gamma=20 | gamma=-20 |
|---|---|---|
![]() | ![]() | ![]() |
Brighten with gamma
| gamma=0 | gamma=40 |
|---|---|
![]() | ![]() |
Darken with gamma
| gamma=0 | gamma=-40 |
|---|---|
![]() | ![]() |
Brightness vs Gamma
The key difference lies in how each adjustment affects pixels: Brightness adds or subtracts the same value from all pixels. A brightness of+20 adds 20 to every pixel value, whether it’s already bright or dark. This can quickly clip highlights or shadows.
Gamma adjusts pixels proportionally based on their current luminosity. Bright pixels receive larger adjustments than dark pixels, creating a curve that mimics human vision and preserves more detail across the tonal range.
Use brightness for simple, uniform adjustments. Use gamma when you need to preserve detail in highlights and shadows, or when correcting tonality issues in photos with varied lighting.
Combining with other transformations
Luminosity adjustments work seamlessly with other Bunny Optimizer parameters:Brighten and increase saturation
Darken and sharpen
Gamma correction with contrast









