qrcode-core: QR code library in pure Haskell

[ codec, library, mit ] [ Propose Tags ]

Please see the README on GitHub at https://github.com/alexkazik/qrcode/qrcode-core#readme

[Skip to Readme]
Versions [faq] 0.8.0, 0.9.0, 0.9.1
Change log ChangeLog.md
Dependencies base (>= && <5), binary (>= && <0.9), bytestring (>= && <0.11), case-insensitive (>= && <1.3), containers (>= && <0.7), dlist (>= && <0.9), primitive (>= && <0.8), semigroups, text (>= && <1.3), vector (>= && <0.13) [details]
License MIT
Copyright 2018 ALeX Kazik
Author ALeX Kazik
Maintainer alex@kazik.de
Category codec
Home page https://github.com/alexkazik/qrcode#readme
Bug tracker https://github.com/alexkazik/qrcode/issues
Source repo head: git clone https://github.com/alexkazik/qrcode
Uploaded by alexkazik at Thu May 23 16:23:12 UTC 2019
Distributions NixOS:0.9.1, Stackage:0.9.1
Downloads 283 total (33 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs available [build log]
Last success reported on 2019-05-23 [all 1 reports]


[Index] [Quick Jump]


Maintainer's Corner

For package maintainers and hackage trustees

Readme for qrcode-core-0.9.1

[back to package description]


QR code library in pure Haskell


Basic functionality to create a QRCode.

All modes are supported:

  • Numeric (digits only)
  • Alphanumeric (digits, letters and some other chars)
  • Binary / Text (ISO 8859-1 and UTF-8)
  • Kanji

There are function to create those specifically and an auto-detect.

The module Codec.QRCode has functions which creates an image out of the input.

The module Codec.QRCode.Intermediate has functions to create segments of a QRCode, join them together and finally create the image.

The core of the resulting image is an Vector of Bools, each element describing a module ("pixel") where False is white and True is black.


Project Nayuki for https://github.com/nayuki/QR-Code-generator, which is the foundation of this package.