qrcode: QR Code library in pure Haskell

[ bsd3, codec, library ] [ Propose Tags ]

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


[Skip to Readme]
Versions 0.1, 0.1.1, 0.1.2
Dependencies array, base (==4.*), 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 Wed Sep 18 17:39:31 UTC 2013
Distributions NixOS:0.1.2
Downloads 1288 total (11 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]
Hackage Matrix CI

Modules

[Index]

Flags

NameDescriptionDefaultType
profDisabledAutomatic

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

Downloads

Maintainer's Corner

For package maintainers and hackage trustees


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