--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
Last updated
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
Last updated
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.
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.
The syntax for using the --qrratio parameter in QR Art generation is as follows:
or
By default, QR ratio is 1.0 (--qrratio 1.0). Range (0.8-1.0)
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>