seabre / pngqr Goto Github PK
View Code? Open in Web Editor NEWThis project forked from andys/pngqr
Pure Ruby Gem to generate PNG files of QR codes
This project forked from andys/pngqr
Pure Ruby Gem to generate PNG files of QR codes
PNGQR (Ping-queer?) ------------------- Pure Ruby Gem to generate PNG files of QR codes. Usage ----- Example: require 'pngqr' Pngqr.encode 'https://github.com/andys', :file => 'output.png' The parameters for encode() are the same as the rqrcode gem's new(), except: 1. we add :file if you want to output to a file instead of returning the PNG as a blob, and 2. you can :scale with an integer parameter and it will scale up the output image by that many times. 3. if you don't supply a :size, we auto-size by testing each size until we find the one that worked. It seems quick enough. 4. :border=>n lets you add an n pixel white border to the PNG Dependencies ------------ Gems: rqrcode and chunky_png (both pure ruby gems) See: http://whomwah.github.com/rqrcode/ Contact the author ------------------ Andrew Snow <[email protected]> Andys^ on irc.freenode.net @andy_snow on the twitter
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.