> 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/parameter-reference/resizing.md).

# Resizing

The Resize section — image resizing, super-resolution, target dimensions, and the full list of resize mode values.

Image resizing and super-resolution.

<table><thead><tr><th width="168.800048828125">Parameter</th><th width="87">Value</th><th width="97.39990234375">Default</th><th>Description</th></tr></thead><tbody><tr><td><code>ResizeOn</code></td><td>0, 1</td><td>1</td><td>Enable / disable resizing</td></tr><tr><td><code>ResizeFacDetMode</code></td><td>0 – 3</td><td>1</td><td>Size calculation mode. <strong>0</strong> = factor, <strong>1</strong> = small side, <strong>2</strong> = width, <strong>3</strong> = height</td></tr><tr><td><code>ResizePixSize</code></td><td>Integer</td><td>6000</td><td>Target pixel size (depends on <code>ResizeFacDetMode</code>)</td></tr><tr><td><code>ResizeFactor</code></td><td>Float</td><td>4.0</td><td><a href="/features/features/ai-super-resolution.md">Resize factor</a> (depends on <code>ResizeFacDetMode</code>)</td></tr><tr><td><code>ResizeMode</code></td><td>0 – 12</td><td>5</td><td><a href="/features/features/ai-super-resolution.md">Resize algorithm</a> (see table below)</td></tr><tr><td><code>SupResThresh</code></td><td>Float</td><td>2.0</td><td><a href="/features/features/ai-super-resolution.md">Super-resolution threshold</a> factor</td></tr><tr><td><code>SupRes2xThresh</code></td><td>Float</td><td>3.0</td><td>Scale-factor threshold up to which the 2× super-resolution model is used; above it, the 4× model is applied</td></tr><tr><td><code>SRNoiseInjection</code></td><td>0, 1</td><td>0</td><td>Inject noise before super-resolution</td></tr></tbody></table>

## Resize mode values

<table><thead><tr><th width="90.60003662109375">Value</th><th width="301.5999755859375">Method</th><th>Description</th></tr></thead><tbody><tr><td>0</td><td>Default</td><td>Standard default resizing</td></tr><tr><td>1</td><td>Bicubic</td><td>Bicubic interpolation</td></tr><tr><td>2</td><td>Biquadratic</td><td>Biquadratic interpolation</td></tr><tr><td>3</td><td>Bilinear</td><td>Bilinear interpolation</td></tr><tr><td>4</td><td>Nearest Neighbor</td><td>Nearest neighbour interpolation</td></tr><tr><td>5</td><td>Super Resolution 4×</td><td>AI-based 4× super-resolution</td></tr><tr><td>6</td><td>Default — no SR</td><td>Default without super-resolution</td></tr><tr><td>7</td><td>Super Resolution 2× / 4×</td><td>AI-based 2× and 4× super-resolution</td></tr><tr><td>8</td><td>Super Resolution 2× / 4× Fast</td><td>Fast AI-based 2× and 4× super-resolution</td></tr><tr><td>9</td><td>Super Resolution 4× Fast</td><td>Fast AI-based 4× super-resolution</td></tr><tr><td>10</td><td>Super Resolution 2× Fast / 4× Fast</td><td>Fast AI-based 2× and 4× super-resolution (alternate)</td></tr><tr><td>11</td><td>Super Resolution 4× with Artifact Removal</td><td>AI 4× super-resolution with integrated artifact removal</td></tr><tr><td>12</td><td>Super Resolution 2× / 4× Legacy</td><td>Legacy 2× and 4× super-resolution model</td></tr></tbody></table>


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.viesus.com/configuration/parameter-reference/resizing.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
