package qrc
QR code encoder for OCaml
Install
Dune Dependency
Authors
Maintainers
Sources
qrc-0.2.0.tbz
sha512=5a65088dfc6994b2d4aee096a3082386099dbcf4b0682e8fb16f21a9b5d3f218ecf109f7f7d3c60c6ccc378d83a3be2aa412ec0196cc75d671677931ad58d668
doc/index.html
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)
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page