qr-imager: Library to generate QR codes from bytestrings and objects

This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.

[maintain] [Publish]

Please see README.md


[Skip to Readme]

Properties

Versions 0.1.0.0, 0.1.0.0, 0.1.0.1, 0.1.2.0, 0.1.2.1, 0.2.0.0, 0.2.1.0, 0.2.1.1, 0.2.1.2, 0.2.1.3, 0.2.2.0, 1.0.0.0, 1.0.0.1, 1.0.0.2, 1.0.0.3, 1.0.1.0, 1.0.1.1, 1.0.1.2, 1.0.1.3, 1.0.1.5, 1.0.1.6, 1.0.1.7, 1.0.1.8, 2.0.0.0, 2.0.0.1, 2.0.0.2
Change log None available
Dependencies aeson, base (>=4.7 && <5), bytestring, cryptonite, directory, haskell-qrencode, jose-jwt, JuicyPixels, lens, qr-imager, vector [details]
License BSD-3-Clause
Copyright Copyright: (c) 2016 Vanessa McHale
Author Vanessa McHale
Maintainer tmchale@wisc.edu
Category Data
Home page https://github.com/vmchale/QRImager#readme
Source repo head: git clone https://github.com/vmchale/QRImager
Uploaded by vmchale at 2016-12-08T20:53:56Z

Modules

[Index]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


Readme for qr-imager-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](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 [http://haskellstack.org](stack). 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"