qrcode-core: QR code library in pure Haskell

[ codec, library, mit ] [ Propose Tags ]
Versions [RSS] 0.8.0, 0.9.0, 0.9.1, 0.9.2, 0.9.3, 0.9.4, 0.9.5
Change log ChangeLog.md
Dependencies base (>= && <5), binary (>= && <0.9), bytestring (>= && <0.12), 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 2022-03-16T19:35:13Z
Distributions LTSHaskell:0.9.5, NixOS:0.9.5, Stackage:0.9.5
Downloads 2359 total (47 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2022-03-16 [all 1 reports]

Readme for qrcode-core-0.9.5

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