Library to generate QR codes from bytestrings and objects and scale image files https://github.com/vmchale/QRRepa#readme
|Latest on Hackage:||0.1.0.0|
This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.
#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.
The library exports main functions -
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 http://haskellstack.org. 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"