Skip to content
QR Code encoder (future) decoder in pure Haskell
Haskell
Latest commit 05edf56 May 15, 2015 @kizzx2 Merge pull request #3 from minoki/fix-alphanumeric
Fix Alphanumeric mode (slash was missing)
Failed to load latest commit information.
Codec/Binary Fix Alphanumeric mode (slash was missing) May 12, 2015
doc Added image to README Sep 24, 2011
.gitignore .gitignore Sep 19, 2013
Example.hs Big init Sep 16, 2011
LICENSE Big init Sep 16, 2011
README.markdown Update image link so that it shows in GitHub Sep 19, 2013
Setup.hs Big init Sep 16, 2011
TODO Big init Sep 16, 2011
qrcode.cabal 0.1.2 Sep 19, 2013

README.markdown

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

Something went wrong with that request. Please try again.