chickadee » qrencode » QR-encode-string-8bit

(MQR-encode-string-8bit string [version] [level])procedure
(QR-encode-string-8bit string [version] [level])procedure

Encodes the given string into a QR code in 8 bit mode. Returns two values: a u8vector containing the pixel values of the QR code (255 for white and 0 for black) and the number of pixels per row/column of the code. version is the desired QR version (between 0 and 40 or 0 and 4 for Micro QR, with 0 being automatic, defaults to 0). level is the level of error correction (between 0 and 3, defaults to 2).

The string must be short enough to be encoded using the given version and level. Otherwise an error will be thrown.

MQR-encode-string-8bit is the Micro QR version of QR-encode-string-8bit.