The QRImager package


Please see

[Skip to ReadMe]


Dependenciesaeson, base (>=4.7 && <5), bytestring, cryptonite, directory, haskell-qrencode, jose-jwt, JuicyPixels, lens, QRImager, vector [details]
CopyrightCopyright: (c) 2016 Vanessa McHale
AuthorVanessa McHale
Home page
Source repositoryhead: git clone
UploadedThu Dec 8 20:50:58 UTC 2016 by vmchale



Maintainers' corner

For package maintainers and hackage trustees

Readme for QRImager-

#QR Imager Library This is a library to generate .png files from QR codes.

##Dependencies The library depends on the C library 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.


###Installation For building haskell, the best tool is currently Install it, and then type

stack install --install-ghc

in the appropriate directory, and it will be installed on your path.


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"