Low commit activity in last 3 years
No release in over a year
make qrcode for the kingblade III.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.9
~> 10.0

Runtime

 Project Readme

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