qr_image_generator library




QR Code has error correction capability to restore data if the code is dirty or damaged. Four error correction levels are available for users to choose according to the operating environment. Raising this level improves error correction capability but also increases the amount of data QR Code size. To select error correction level, various factors such as the operating environment and QR Code size need to be considered. ErrorCorrectionLevel.quartile or ErrorCorrectionLevel.high may be selected for factory environment where QR Code get dirty, whereas ErrorCorrectionLevel.low may be selected for clean environment with the large amount of data. Typically, ErrorCorrectionLevel.medium (15%) is most frequently selected.