qr_code v0.1.0 QRCode

Creates QR codes. https://github.com/komone/qrcode/blob/master/src/qrcode.erl

Link to this section Summary

Functions

Returns QR code as string of {#, .}

Encodes bin binary using ecc Error Correction Level

Creates QR code and displays it in terminal

Link to this section Functions

Link to this function

as_string(string)

Returns QR code as string of {#, .}.

Link to this function

encode(bin, ecc \\ 'M')

Encodes bin binary using ecc Error Correction Level.

ECC values:

  • 'L': recovers 7% of data
  • 'M': recovers 15% of data (default)
  • 'Q': recovers 25% of data
  • 'H': recovers 30% of data

Creates QR code and displays it in terminal.