Quick QR Art
Search
K

--qrratio (QR Ratio)

The QR Ratio parameter (--qrratio) is a fundamental feature that allows users to control the size of the QR code module within the generated QR Art image, providing a harmonious balance between design
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

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:
Use qr_ratio option
or
Use --qrratio in the prompt

4. List QR Ratio:

By default, QR ratio is 1.0 (--qrratio 1.0). Range (0.8-1.0)
QR Ratio
QR Size
--qrratio value
0.8
0.8 * Min(ConatinerWidth, ConatinerHeight)
--qrratio 0.8
0.85
0.85 * Min(ConatinerWidth, ConatinerHeight)
--qrratio 0.85
0.9
0.9 * Min(ConatinerWidth, ConatinerHeight)
--qrratio 0.9
0.95
0.95 * Min(ConatinerWidth, ConatinerHeight)
--qrratio 0.95
1.0
1 * Min(ConatinerWidth, ConatinerHeight)
--qrratio 1.0
custom
custom value * Min(ConatinerWidth, ConatinerHeight)
--qrratio <custom value>
QRSize = QR Ratio * Min(ContainerWidth, Conatiner Height)