> For the complete documentation index, see [llms.txt](https://astra-image.gitbook.io/astra-image-6.0/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://astra-image.gitbook.io/astra-image-6.0/processing-tools/shadows-and-highlights.md).

# Shadows and Highlights

This tool lets you make adjustments to the darker areas (shadows) and brighter areas (highlights) separately. Shadows can be made brighter and highlights can be made darker.

<div align="left"><figure><img src="/files/vXphCG8WFT7YgMxCUWmu" alt="The Shadows and Highlights tool."><figcaption><p>The Shadows and Highlights tool.</p></figcaption></figure></div>

**Shadows**\
Sets the strength of the shadow adjustment. Higher values increase the brightness in dark areas, making it easier to see details in the shadows.

**Shadow Tonal Range**\
This sets which pixels are considered to be shadows. Lower values will limit the effect to very dark pixels only. Higher values include lighter pixels as well.

**Highlights**\
Sets the strength of the highlight adjustment. Higher values decrease the brightness in bright areas.

**Highlights Tonal Range**\
This sets which pixels are considered to be highlights. Lower values will limit the effect to very bright pixels only. Higher values will include darker pixels as well.

**Halo reduction**\
In some cases, halos may become visible around sharp edges. In this case setting this adjustment to a higher value may reduce the halos.

**Saturation**\
A convenience function that sets the color saturation after the shadows and highlights have been adjusted.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://astra-image.gitbook.io/astra-image-6.0/processing-tools/shadows-and-highlights.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
