Encoding
Zymbol chooses an appropriate symbol size and encoding mode for the input. You can also specify the version, error correction and mask.
Symbol families
QR Code Model 2Versions 1–40
Supports numeric, alphanumeric, byte and Kanji modes, along with ECI, FNC1 and Structured Append.
Micro QRM1–M4
Smaller symbols with version-dependent capacity, modes and error-correction levels. M1 only detects errors.
Error correction
QR Code uses four levels: L, M, Q and H. Micro QR has a narrower set, depending on its version. More correction leaves less room for data.
typescript
const symbol = qr.encode('Example', {
family: 'qr',
errorCorrection: 'Q',
});The encoder validates unsupported options and reports data that does not fit.
Rendering the result