generateqrcode - Generates a QRCode with given text and color.
Generate a QRCode
textstring
The text to place in your QR Code.
Example:
https://1001fx.combackgroundColorHEX Color
The border color of your bar. Defaults to #ffffff if no color is provided.
Example:
#fffffftextColorHEX Color
The border color of your bar. Defaults to #000000 if no color is provided.
Example:
#3b82f6widthnumber
Forces a specific width for the output image. Defaults to 512.
Maximum: 4096
Example:
1024errorCorrectionLevelstring
Error correction capability allows to successfully scan a QR Code even if the symbol is dirty or damaged. Higher levels offer a better error resistance but reduce the code's capacity. Defaults to M.
Possible values are: M, L, Q, H
Example:
M