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]

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


[Skip to ReadMe]

Properties

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

Modules

Flags

NameDescriptionDefaultType
profDisabledAutomatic

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

Downloads

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