qrcode: QR Code library in pure Haskell

[ bsd3, codec, library ] [ Propose Tags ] [ Report a vulnerability ]

QR Code encoder (and future decoder) in pure Haskell.


[Skip to Readme]

Modules

[Index]

Flags

Automatic Flags
NameDescriptionDefault
profDisabled

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 0.1, 0.1.1, 0.1.2
Dependencies array, base (>=4 && <5), containers, mtl, vector [details]
License BSD-3-Clause
Author Chris Yuen
Maintainer chris@kizzx2.com
Category Codec
Source repo head: git clone https://github.com/kizzx2/haskell-qrcode
Uploaded by ChrisYuen at 2013-09-18T17:39:31Z
Distributions
Reverse Dependencies 1 direct, 0 indirect [details]
Downloads 3052 total (11 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]

Readme for qrcode-0.1.2

[back to package description]

Basic Encoding

The encode function and the toArray function are all you need. See Example.hs. You can use ImageMagick to enlarge the symbol and convert to other formats:

$ runhaskell Example.hs
$ convert hello.pgm -bordercolor white -border 4 -scale 300x300 -interpolate integer hello.png

Output:

Example output