EQRCode (EQRCode v0.1.10) View Source

Simple QR Code Generator written in Elixir with no other dependencies.

Link to this section Summary

Link to this section Types

Link to this type

error_correction_level()

View Source

Specs

error_correction_level() :: :l | :m | :q | :h

Link to this section Functions

Link to this function

encode(bin, error_correction_level \\ :l)

View Source

Specs

encode(binary(), error_correction_level()) :: EQRCode.Matrix.t()

Encode the binary.

Link to this function

encode(bin, error_correction_level, bits)

View Source

Specs

encode(binary(), error_correction_level(), bitstring()) :: EQRCode.Matrix.t()

Encode the binary with custom pattern bits.

Only supports version 5.

Link to this function

png(matrix, options \\ [])

View Source

See EQRCode.PNG.png/2.

See EQRCode.Render.render/1.

Link to this function

svg(matrix, options \\ [])

View Source

See EQRCode.SVG.svg/2.