Crate qrqrpar

source ·
Expand description

QRCode encoder

This crate provides a QR code, Micro QR and rMQR code encoder for binary data.

use qrqrpar::{QrCode, QrStyle};

// Encode some data into bits.
let code = QrCode::rmqr("Hello, rmqr!").unwrap();

// Define style
let style = QrStyle::default();

// Render the bits into an image and save it.
code.save_png("rmqr.png", &style).unwrap();

Re-exports§

Modules§

  • The bits module encodes binary data into raw bits used in a QR code.
  • The canvas module puts raw bits into the QR code canvas.
  • Find the optimal data mode sequence to encode a piece of data.
  • The ec module applies the Reed-Solomon error correction codes.

Structs§

Enums§