Qrc v0.2.0

Qrc encodes your data into QR codes. It has built-in QR matrix renderers for SVG, ANSI terminal and text.

See the quick start.

Library qrc

Quick start

The following generates a QR code matrix for the given data bytes and outputs it as an SVG image on stdout.

let output_svg_qr data = match Qrc.encode data with
| None -> prerr_endline "Data capacity exceeded!"
| Some m -> print_endline (Qrc.Matrix.to_svg m)