qr_coder v0.1.2 QRCoder View Source

Generates an svg binary with given data.

Link to this section Summary

Functions

Generates a basic SVG QR Code

Generate an SVG QR Code with custom dark color

Link to this section Functions

Link to this function

generate_svg(bin)

View Source
generate_svg(String.t()) :: {:ok, String.t()} | {:error, :invalid}

Generates a basic SVG QR Code

Link to this function

generate_svg(bin, color)

View Source

Generate an SVG QR Code with custom dark color