> For the complete documentation index, see [llms.txt](https://docs.viesus.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.viesus.com/configuration.md).

# Configuration

- [Overview](https://docs.viesus.com/configuration/overview.md)
- [Presets Gallery](https://docs.viesus.com/configuration/presets-gallery.md): Ready-to-use VIESUS enhancement preset configurations for common workflows. Download a JSON, drop it in, run.
- [Parameters](https://docs.viesus.com/configuration/parameter-reference.md): Complete reference for all viesusini.json parameters — Gpars, Lpars, Config, Resize, Background, ICCProfiles, AutoCrop, and Other.
- [Global Parameters](https://docs.viesus.com/configuration/parameter-reference/global-parameters.md): The Gpars section — global enhancement strengths, specialised AI strengths, and manual corrections applied to the whole image.
- [Local Parameters](https://docs.viesus.com/configuration/parameter-reference/local-parameters.md): The Lpars section — region correction factors and per-zone adjustments for skin, sky, and vegetation.
- [Mode Switches](https://docs.viesus.com/configuration/parameter-reference/mode-switches.md): The Config section — which processing stages run, plus the ARmode and HDRmode value tables and feature dependencies.
- [Resizing](https://docs.viesus.com/configuration/parameter-reference/resizing.md): The Resize section — image resizing, super-resolution, target dimensions, and the full list of resize mode values.
- [Background & Cropping](https://docs.viesus.com/configuration/parameter-reference/background-and-cropping.md): The Background section (replacement, color substitution, balance) and the AutoCrop section (portrait auto-cropping).
- [Output & Color](https://docs.viesus.com/configuration/parameter-reference/output-and-color.md): The Other section (output format, JPEG quality, DPI, monochrome/sepia) and the ICCProfiles section (output color profile).
- [PDF Settings](https://docs.viesus.com/configuration/pdf-settings.md): The PDF Enhancer's settings.json — general behavior, resizing, folders, triggers, file extensions, and special rendering modes.
- [General](https://docs.viesus.com/configuration/pdf-settings/general.md): General PDF Enhancer settings — core processing behavior, image filtering, adjacency, and soft-mask handling.
- [Resizing](https://docs.viesus.com/configuration/pdf-settings/resizing.md): PDF Enhancer resizing settings — image resizing, AI Upscaling, and artifact-removal modes for embedded images.
- [Folders & Triggers](https://docs.viesus.com/configuration/pdf-settings/folders-and-triggers.md): PDF Enhancer folder paths and the file-based trigger workflow for hotfolder processing.
- [File Extensions](https://docs.viesus.com/configuration/pdf-settings/file-extensions.md): PDF Enhancer naming conventions for processed and archived files.
- [Special Functions](https://docs.viesus.com/configuration/pdf-settings/special-functions.md): PDF Enhancer special rendering modes — Render to Image (RTI) and Render to PDF (RTPDF).


---

# 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://docs.viesus.com/configuration.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.
