| CARVIEW |
qr-repa: Library to generate QR codes from bytestrings and objects and scale image files
Modules
- Data
- QRCodes
- Data.QRCodes.Repa
- QRCodes
Downloads
- qr-repa-0.1.0.0.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
- No current members of group
For package maintainers and hackage trustees
Candidates
- No Candidates
| Versions [RSS] | 0.1.0.0 |
|---|---|
| Dependencies | aeson, base (>=4.7 && <5), bytestring, cryptonite, directory, haskell-qrencode, jose-jwt, lens, qr-repa, repa, repa-devil, vector [details] |
| License | BSD-3-Clause |
| Copyright | Copyright: (c) 2016 Vanessa McHale |
| Author | Vanessa McHale |
| Maintainer | tmchale@wisc.edu |
| Uploaded | by vmchale at 2016-12-15T03:57:58Z |
| Category | Data |
| Home page | https://github.com/vmchale/QRRepa#readme |
| Source repo | head: git clone https://github.com/vmchale/QRRepa |
| Distributions | |
| Executables | qrpipe |
| Downloads | 980 total (3 in the last 30 days) |
| Rating | (no votes yet) [estimated by Bayesian average] |
| Your Rating |
|
| Status | Docs not available [build log] All reported builds failed as of 2016-12-15 [all 3 reports] |
Readme for qr-repa-0.1.0.0
[back to package description]#QR Imager Library
This is a library to generate .png files from QR codes.
##Dependencies The library depends on the C library https://github.com/fukuchi/libqrencode which you will need to install separately.
##Usage
The library exports main functions - createQRCode and byteStringToQR - and their secured/signed versions. The first takes any object that is an instance of ToJSON and writes an image to file, while the second takes a (strict) bytestring and writes it to file.
##Executable
###Installation For building haskell, the best tool is currently https://haskellstack.org. Install it, and then type
stack install --install-ghc
in the appropriate directory, and it will be installed on your path.
###Use
Compiling will generate an executable called QRPipe which reads from stdin and outputs a file as the second argument, e.g.
echo 'My name is:" | qrpipe "nametag.png"