Skip to content

inpwjp/rqrcode_kingblade

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RqrcodeKingblade

This gem can make qrcode file for kingbladeIII(infinity)

Installation

Add this line to your application's Gemfile:

gem 'rqrcode_kingblade'

And then execute:

$ bundle

Or install it yourself as:

$ gem install rqrcode_kingblade

Usage

Initialize class

rqr_kb = RqrcoreKingblade::RqrcodeKingblade.new

Add title.

rqr_kb.title = "title hoge"

Add color data. Format is RGBdata plus brightness(v).

rqr_kb.add_color(r = 0,g = 100 ,b = 150, brightness = 140, 0)

Set the name of the file to be output

rqr_kb.filename = "filename.png"

You want to output the file of the QR code.

rqr_kb.to_qrcode

You want to output the image data of png format.

rqr_kb.to_img

About

make qrcode for kingbladeIII.

Resources

License

Stars

Watchers

Forks

Packages

No packages published