qrcode-core-0.9.0: QR code library in pure Haskell

Safe HaskellNone
LanguageHaskell2010

Codec.QRCode.Data.QRImage

Synopsis

Documentation

data QRImage Source #

Constructors

QRImage 
Instances
Show QRImage Source # 
Instance details

Defined in Codec.QRCode.Data.QRImage

toList Source #

Arguments

:: (IsList l, Item l ~ a) 
=> a

Value for black modules

-> a

Value for white modules

-> QRImage 
-> l 

Convert the QR code image into a list-type containing all elements from top to bottom and left to right. The values for black/white have to be specified.

toMatrix Source #

Arguments

:: (IsList l, Item l ~ k, IsList k, Item k ~ a) 
=> a

Value for black modules

-> a

Value for white modules

-> QRImage 
-> l 

Convert the QR code image into a list-type of list-type. The values for black/white have to be specified.