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.

[maintain] [Publish]

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


[Skip to Readme]

Properties

Versions 0.1, 0.1.1, 0.1.2, 0.1.3
Change log None available
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 2017-09-17T04:42:01Z

Modules

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


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