Generates a QR code bitmap for the given text.
qrcode(text, scale?, typeNumber?, errorCorrectionLevel?)
text
The text to encode in the QR code.
scale optional
The scaling factor for each module (pixel) in the QR code. Default is 12.
typeNumber optional
The QR code version (type number) from 1 to 40, which determines the size and data capacity. Default is 4.
errorCorrectionLevel optional
The error correction level. Can be 'L' (Low), 'M' (Medium), 'Q' (Quartile), or 'H' (High). Default is 'L'.
A Bitmap object containing the generated QR code as a grayscale image.
qrcode("https://calcish.com", 8, 6, 'M')