SwissQrBill.QrCode.QrCode (swiss_qr_bill v0.1.3)

Copy Markdown View Source

QR code generation for Swiss QR bills. Uses the qr_code library with Medium error correction.

Summary

Functions

Returns the raw QR matrix for rendering in PDF.

Functions

to_matrix(data)

@spec to_matrix(String.t()) :: {:ok, [[0 | 1]]} | {:error, String.t()}

Returns the raw QR matrix for rendering in PDF.