Created
February 8, 2009 17:13
-
-
Save m0wfo/60432 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# With rQRcode | |
require "rubygems" | |
require "rqrcode" | |
# With rQRcode | |
100.times do |i| | |
RQRCode::QRCode.new("iteration number #{i}", :size => 4, :level => :h) | |
end | |
# With libqrencode | |
100.times do |i| | |
system("/usr/local/bin/qrencode 'iteration number #{i}' -o /Users/chris/qr/iteration-#{i}.png") | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment