Skip to content

TripShot/haskell-qrcode

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

QR Code encoder (future) decoder in pure Haskell

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Haskell 100.0%