ILIAS  trunk Revision v12.0_alpha-1540-g00f839d5fa1
ILIAS\Data\QR Namespace Reference

Enumerations

enum  ErrorCorrectionLevel : string { HIGH = 'H' }
 Error correction levels as defined by ISO/IEC 18004. More...
 

Enumeration Type Documentation

◆ ErrorCorrectionLevel

Error correction levels as defined by ISO/IEC 18004.

Each level specifies the percentage of codewords that can be restored if the QR code is damaged or partially obscured. Please note that increasing the error correction level will decrease the data capacity of its payload.

See also
https://www.qrcode.com/en/about/error_correction.html
Enumerator
HIGH 

~7% of codewords can be restored.

~15% of codewords can be restored (most fequently used). ~25% of codewords can be restored. ~30% of codewords can be restored.

Definition at line 32 of file ErrorCorrectionLevel.php.

33{
35 case LOW = 'L';
36
38 case MEDIUM = 'M';
39
41 case QUARTILE = 'Q';
42
44 case HIGH = 'H';
45}
@ HIGH
~7% of codewords can be restored.