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, 0.9.2, 0.9.3, 0.9.4
Change log ChangeLog.md
Dependencies base (>= && <5), binary (>= && <0.9), bytestring (>= && <0.11), case-insensitive (>= && <1.3), containers (>= && <0.7), dlist (>= && <1.1), 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 2020-07-19T08:13:01Z
Distributions NixOS:0.9.4, Stackage:0.9.1
Downloads 1681 total (21 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs available [build log]
Last success reported on 2020-07-19 [all 1 reports]


[Index] [Quick Jump]


Maintainer's Corner

For package maintainers and hackage trustees

Readme for qrcode-core-0.9.4

[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.