TQRDecoder.decode Method

Overloads

decode(TBitMatrixParser, TDictionary<TDecodeHintType,TObject>)
decode(TArray<TArray<Boolean>>, TDictionary<TDecodeHintType,TObject>)

Convenience method that can decode a QR Code represented as a 2D array of booleans. "true" is taken to mean a black module.

decode(TBitMatrix, TDictionary<TDecodeHintType,TObject>)

Decodes a QR Code represented as a {@link BitMatrix}. A 1 or "true" is taken to mean a black module.

decode(TBitMatrixParser, TDictionary<TDecodeHintType,TObject>)

Delphi
function decode(const parser: TBitMatrixParser; const hints: TDictionary<TDecodeHintType, TObject>): TDecoderResult

Parameters

hints
TDictionary<TDecodeHintType, TObject>

Returns

decode(TArray<TArray<Boolean>>, TDictionary<TDecodeHintType,TObject>)

Convenience method that can decode a QR Code represented as a 2D array of booleans. "true" is taken to mean a black module.

Delphi
function decode(const image: TArray<TArray<Boolean>>; const hints: TDictionary<TDecodeHintType, TObject>): TDecoderResult

Parameters

image
TArray<TArray<Boolean>>

booleans representing white/black QR Code modules

hints
TDictionary<TDecodeHintType, TObject>

decoding hints that should be used to influence decoding

Returns

TDecoderResult

text and bytes encoded within the QR Code

decode(TBitMatrix, TDictionary<TDecodeHintType,TObject>)

Decodes a QR Code represented as a {@link BitMatrix}. A 1 or "true" is taken to mean a black module.

Delphi
function decode(const bits: TBitMatrix; const hints: TDictionary<TDecodeHintType, TObject>): TDecoderResult

Parameters

bits
TBitMatrix

booleans representing white/black QR Code modules

hints
TDictionary<TDecodeHintType, TObject>

decoding hints that should be used to influence decoding

Returns

TDecoderResult

text and bytes encoded within the QR Code