# Color adjustment and auto enhance

> Adjust an image's brightness, contrast, saturation, and other tonal properties, or enhance its quality automatically in one step.

## Auto enhance

| Parameter | Description                                                                                              | Values   |
| :-------- | -------------------------------------------------------------------------------------------------------- | -------- |
| `enhance` | **Automatic quality enhancement**. The value sets the strength. `enhance` without a value defaults to 50 | 0 \~ 100 |
| `redeye`  | **Red-eye removal**                                                                                      | `1`      |

`enhance` analyzes the image and adjusts it automatically: it corrects the black and white points, brightens dark midtones, and moderately increases contrast and vibrance. It adapts to the image's exposure: well-lit photos change very little, while darker photos see a more noticeable improvement. Highlights are protected from overexposure.

<https://demo.bitiful.com/girl.jpeg?enhance=70>

You can also combine multiple options with the `auto` syntax: `auto=enhance,redeye`. `auto=enhance` is equivalent to `enhance=100`.

## Manual adjustment

| Parameter    | Description         |    Values   | Notes                                                                                    |
| :----------- | ------------------- | :---------: | ---------------------------------------------------------------------------------------- |
| `bri`        | **Brightness**      | -100 \~ 100 | Brightens or darkens the whole image                                                     |
| `con`        | **Contrast**        | -100 \~ 100 | -100 produces solid gray                                                                 |
| `gam`        | **Gamma**           | -100 \~ 100 | Positive values brighten midtones while leaving highlights and shadows largely unchanged |
| `exp`        | **Exposure**        | -100 \~ 100 | Maps to ±2 stops of exposure                                                             |
| `high`       | **Highlights**      |  -100 \~ 0  | Darkens highlights to recover detail in overly bright areas                              |
| `shad`       | **Shadows**         | -100 \~ 100 | Positive values brighten shadows; negative values darken them                            |
| `sat`        | **Saturation**      | -100 \~ 100 | -100 produces black and white                                                            |
| `vib`        | **Vibrance**        | -100 \~ 100 | Boosts less-saturated colors first and protects skin tones                               |
| `hue`        | **Hue**             | -360 \~ 360 | Rotation angle                                                                           |
| `sepia`      | **Sepia tone**      |   0 \~ 100  | The value sets the strength                                                              |
| `monochrome` | **Monochrome tint** |  Hex color  | In 4- or 8-digit form, the first segment sets the strength                               |
| `invert`     | **Invert**          |     `1`     | –                                                                                        |

All parameters default to 0, meaning no adjustment. You can use multiple parameters together.

<https://demo.bitiful.com/girl.jpeg?exp=20&shad=30&vib=25>

For sharpening and pixelation, see [Sharpen images](/en/coreix/features/sharp) and [Blur images](/en/coreix/features/blur).

## Usage notes

- **Order of operations**: auto enhance runs first, then manual adjustments, so manual parameters fine-tune the enhanced result.
- **Wide color gamut**: wide-gamut images such as Display P3 and Adobe RGB are processed in their original color space, so colors are not compressed to sRGB.
- **Transparent images**: transparency is preserved.
- **Animated images**: supported. Every frame uses the same set of adjustments, so there are no tonal jumps between frames.
- **HDR images**: adjustments apply only to the SDR rendition, and HDR highlight information is preserved. Black and white, sepia, and monochrome also remove color from the HDR portion; `invert` outputs SDR.
- **Video**: not supported. Including these parameters when outputting video returns an error.
