The diagrams-qrcode package

[Tags:bsd3, library]

This library is able to draw diagrams of QR codes using the diagrams library. In order to create the QR code itself, you may use either the haskell-qrencode library or qrcode library, both are supported. In order to draw and save the diagram to a file, we suggest using either the diagrams-svg library (pure Haskell, fast, SVG output only) or the diagrams-cairo library (requires Cairo, supports many different output targets, including SVG, PNG, PDF, PS and directly onto a GUI).

For an example of how this library may be used, please see the examples on the source code.


[Skip to Readme]

Properties

Versions 1.0, 1.0.1, 1.1, 1.1.1, 1.1.2, 1.2, 1.3
Dependencies array, base (>=4.5 && <4.9), colour, diagrams-core (==1.3.*), diagrams-lib (==1.3.*) [details]
License BSD3
Copyright (c) 2012-2014 Prowdsponsor <opensource@prowdsponsor.com>
Author Felipe Lessa <felipe.lessa@prowdsponsor.com>
Maintainer Felipe Lessa <felipe.lessa@prowdsponsor.com>
Stability Unknown
Category Graphics
Home page https://github.com/prowdsponsor/diagrams-qrcode
Source repository head: git clone git://github.com/prowdsponsor/diagrams-qrcode.git
Uploaded Fri Oct 2 15:11:49 UTC 2015 by FelipeLessa
Distributions NixOS:1.3
Downloads 1348 total (22 in the last 30 days)
Votes
0 []
Status Docs available [build log]
Last success reported on 2015-10-03 [all 1 reports]

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees

Readme for diagrams-qrcode

Readme for diagrams-qrcode-1.3

diagrams-qrcode

This library is able to draw diagrams of QR codes using the diagrams library. In order to create the QR code itself, you may use either the haskell-qrencode library or qrcode library, both are supported. In order to draw and save the diagram to a file, we suggest using either the diagrams-svg library (pure Haskell, fast, SVG output only) or the diagrams-cairo library (requires Cairo, supports many different output targets, including SVG, PNG, PDF, PS and directly onto a GUI).

For example:

$ cabal install diagrams-qrcode haskell-qrencode diagrams-svg diagrams
$ cd examples/
$ echo 'https://github.com/meteficha/diagrams-qrcode/' | \
  runhaskell using-haskell-qrencode.hs > qrcode.svg
$ xdg-open qrcode.svg

qrcode.png