ExQR.Matrix (ex_qr v0.1.0)

Copy Markdown View Source

QR Code matrix construction: function patterns, data placement, masking, and format information.

The matrix is represented as a map of {row, col} => value where value is 0 (white) or 1 (black).

Summary

Functions

Build the final QR matrix for a given version, EC level, and codewords.

Functions

build(version, level, codewords)

Build the final QR matrix for a given version, EC level, and codewords.

Returns a size × size matrix as a map of {row, col} => 0 | 1.