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. |
Locates and decodes a barcode in some format within an image.
function decode(const image: TBinaryBitmap): TReadResult
Parameters
- image
- TBinaryBitmap
image of barcode to decode
Returns
String which the barcode encodes
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.
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
String which the barcode encodes