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

[ bsd3, data, deprecated, image, library, qr ] [ Propose Tags ] [ Report a vulnerability ]
Deprecated in favor of qrcode-juicypixels, qrcode-core

Please see README.md


[Skip to Readme]

Downloads

Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 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
Dependencies aeson (>=0.11.3.0 && <0.12), base (>=4.8 && <5), bytestring (>=0.10.8.1 && <0.11), cryptonite (>=0.21 && <0.22), directory (>=1.2.6.2 && <1.3), haskell-qrencode (>=1.0.4 && <1.1), jose-jwt (>=0.7.4 && <0.8), JuicyPixels (>=3.2.8 && <3.3), lens (>=4.14 && <4.15), MissingH (>=1.4.0.1 && <1.5), optparse-applicative (>=0.12.1.0 && <0.13), process (>=1.4.2.0 && <1.5), vector (>=0.11.0.0 && <0.12) [details]
License BSD-3-Clause
Copyright Copyright: (c) 2016 Vanessa McHale
Author Vanessa McHale
Maintainer tmchale@wisc.edu
Revised Revision 1 made by HerbertValerioRiedel at 2017-03-18T21:41:32Z
Category Data
Home page https://github.com/vmchale/QRImager#readme
Source repo head: git clone https://github.com/vmchale/QRImager
Uploaded by vmchale at 2017-02-12T23:40:46Z
Distributions
Reverse Dependencies 1 direct, 0 indirect [details]
Downloads 14409 total (90 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2017-02-12 [all 1 reports]

Readme for qr-imager-1.0.0.0

[back to package description]

QR Imager Library

Build Status

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

Dependencies

The library depends on the C library libqrencode which you will need to install separately, as well as the C library Zbar from here. You should also be able to get them from your distro.

Library

The library can be used via the exported functions createQRCode, byteStringToQR and readQRString, plus their signed counterparts. The first two export to ".png" while the third can be used on any image format Zbar supports.

The functions bsToImg and objToImg output JuicyPixels images for your further manipulation.

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 to 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: Vanessa" | qrpipe write -v "nametag.png"

To then read the nametag:

qrpipe read "nametag.png"