qrcode: QR Code library in pure Haskell

This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.


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

[Skip to ReadMe]


Versions0.1, 0.1.1, 0.1.2, 0.1.3
Change logNone available
Dependenciesarray, base (==4.*), containers, mtl, vector [details]
AuthorChris Yuen
Source repositoryhead: git clone https://github.com/kizzx2/haskell-qrcode
UploadedSun Sep 17 04:42:01 UTC 2017 by ChrisYuen




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


Maintainers' corner

For package maintainers and hackage trustees

Readme for qrcode-0.1.3

[back to package description]

Basic Encoding

The encode function and the toArray function are all you need. See Example.hs. You can use ImageMagick/GraphicsMagick to enlarge the symbol and convert to other formats: $ runhaskell Example.hs $ # ImageMagick $ convert hello.pgm -bordercolor white -border 4 -scale 300x300 -interpolate integer hello.png $ # GraphicsMagick $ gm convert hello.pgm -bordercolor white -border 4 -scale 300x300 hello.png Output: Example output