Skip to content

gialib/qrcode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

QRCode

generate qrcode util

Installation

by adding qrcode to your list of dependencies in mix.exs:

def deps do
  [
    {:qrcode, "~> 0.1.2"}
  ]
end

Usage

# save qrcode png to file "/Users/hello/tmp/helloworld.png"
QRCode.to_png_file("hello world", "/Users/hello/tmp/helloworld.png")

# save qrcode png to file "~/tmp/helloworld.png"
QRCode.to_png_file("hello world", "~/tmp/helloworld.png")

# save qrcode png to file "~/tmp/helloworld.png" with quiet_zone is 1
QRCode.to_png_file("hello world", "~/tmp/helloworld.png", quiet_zone: 1)

About

qrcode for elixir

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published