# --qrratio (QR Ratio)

<figure><img src="/files/fuT9GQoXTA2wyp9gWKN2" alt=""><figcaption><p><strong>underwater coral reef colorful fishes and marine life --qrw 1.5 --qrpattern rd1 --ar 16:9 --pos (0.2,0.2) --qrratio 0.5 --seed 2114950306917964</strong></p></figcaption></figure>

## 1. **Purpose:**

The purpose of the --qrratio parameter is to offer users the capability to define the QR code module size relative to the overall dimensions of the QR Art canvas. This ensures that QR codes remain scannable while integrating seamlessly into artistic designs.

## 2. **Usage:**

The --qrratio parameter is employed during QR Art generation. By specifying the QR ratio value, users can determine the proportion of the QR code module size concerning the width and height of the QR Art canvas.

## 3. Syntax:

The syntax for using the --qrratio parameter in QR Art generation is as follows:

<figure><img src="/files/zVYxv23XWwYXgJ6seW3E" alt=""><figcaption><p>Use qr_ratio option</p></figcaption></figure>

or

<figure><img src="/files/q0cY5TjKLD5Qx8dC6jY4" alt=""><figcaption><p>Use --qrratio in the prompt</p></figcaption></figure>

## 4. List QR Ratio:

*By default, QR ratio is 1.0 (--qrratio 1.0). Range (0.8-1.0)*

<table><thead><tr><th width="154" align="center">QR Ratio</th><th width="405" align="center">QR Size</th><th width="214" align="center">--qrratio value</th></tr></thead><tbody><tr><td align="center">0.8</td><td align="center">0.8 * Min(ConatinerWidth, ConatinerHeight)</td><td align="center">--qrratio 0.8</td></tr><tr><td align="center">0.85</td><td align="center">0.85 * Min(ConatinerWidth, ConatinerHeight)</td><td align="center">--qrratio 0.85</td></tr><tr><td align="center">0.9</td><td align="center">0.9 * Min(ConatinerWidth, ConatinerHeight)</td><td align="center">--qrratio 0.9</td></tr><tr><td align="center">0.95</td><td align="center">0.95 * Min(ConatinerWidth, ConatinerHeight)</td><td align="center">--qrratio 0.95</td></tr><tr><td align="center">1.0</td><td align="center">1 * Min(ConatinerWidth, ConatinerHeight)</td><td align="center">--qrratio 1.0</td></tr><tr><td align="center">custom</td><td align="center">custom value * Min(ConatinerWidth, ConatinerHeight)</td><td align="center">--qrratio &#x3C;custom value></td></tr></tbody></table>

<figure><img src="/files/4yZHGAwvAyLRwNkKXAxk" alt=""><figcaption><p>QRSize = QR Ratio * Min(ContainerWidth, Conatiner Height)</p></figcaption></figure>


---

# Agent Instructions: 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:

```
GET https://docs.quickqr.art/user-guide/parameter-list/qrratio-qr-ratio.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
