qr_code v1.0.4 QRCode.FormatVersion
A QR code uses error correction encoding and mask patterns. The QR code's size is represented by a number, called a version number. To ensure that a QR code scanner accurately decodes what it scans, the QR code specification requires that each code include a format information string, which tells the QR code scanner which error correction level and mask pattern the QR code is using. In addition, for version 7 and larger, the QR code specification requires that each code include a version information string, which tells the QR code scanner which version the code is.
Link to this section Summary
Link to this section Functions
Link to this function
put_information(qr)
put_information(qr)
put_information(QRCode.QR.t()) :: Result.t(String.t(), QRCode.QR.t())
put_information(QRCode.QR.t()) :: Result.t(String.t(), QRCode.QR.t())
Link to this function
set_format_info(matrix, table_level, mask_num, version)
set_format_info(matrix, table_level, mask_num, version)
set_format_info(
MatrixReloaded.Matrix.t(),
QRCode.QR.level(),
QRCode.QR.mask_num(),
QRCode.QR.version()
) :: Result.t(String.t(), MatrixReloaded.Matrix.t())
set_format_info( MatrixReloaded.Matrix.t(), QRCode.QR.level(), QRCode.QR.mask_num(), QRCode.QR.version() ) :: Result.t(String.t(), MatrixReloaded.Matrix.t())
Link to this function
set_version_info(matrix, version)
set_version_info(matrix, version)
set_version_info(MatrixReloaded.Matrix.t(), QRCode.QR.version()) ::
Result.t(String.t(), MatrixReloaded.Matrix.t())
set_version_info(MatrixReloaded.Matrix.t(), QRCode.QR.version()) :: Result.t(String.t(), MatrixReloaded.Matrix.t())