IReader.decode Method

Overloads

decode(TBinaryBitmap)

Locates and decodes a barcode in some format within an image.

decode(TBinaryBitmap, TDictionary<TDecodeHintType,TObject>)

Locates and decodes a barcode in some format within an image. This method also accepts hints, each possibly associated to some data, which may help the implementation decode.

decode(TBinaryBitmap)

Locates and decodes a barcode in some format within an image.

Delphi
function decode(const image: TBinaryBitmap): TReadResult

Parameters

image
TBinaryBitmap

image of barcode to decode

Returns

TReadResult

String which the barcode encodes

decode(TBinaryBitmap, TDictionary<TDecodeHintType,TObject>)

Locates and decodes a barcode in some format within an image. This method also accepts hints, each possibly associated to some data, which may help the implementation decode.

Delphi
function decode(const image: TBinaryBitmap; hints: TDictionary<TDecodeHintType, TObject>): TReadResult

Parameters

image
TBinaryBitmap

image of barcode to decode

hints
TDictionary<TDecodeHintType, TObject>

passed as a IDictionary<TKey, TValue> from DecodeHintType to arbitrary data. The meaning of the data depends upon the hint type. The implementation may or may not do anything with these hints.

Returns

TReadResult

String which the barcode encodes