Skip to end of metadata
Go to start of metadata

Interface for a smart class to decode the barcode inside a bitmap object

Definition

public interface IBarcodeReaderGeneric<T>

Type Parameters

T gives the type of the input data

Summary

The following table summarizes the members exposed in this interface.

Properties

Options Specifies some options which influence the decoding process

Methods

Decode(Byte[], int, int, BitmapFormat) Decodes the specified barcode bitmap which is given by a generic byte array.
Decode(LuminanceSource) Tries to decode a barcode within an image which is given by a luminance source. That method gives a chance to prepare a luminance source completely before calling the time consuming decoding method. On the other hand there is a chance to create a luminance source which is independent from external resources (like Bitmap objects) and the decoding call can be made in a background thread.
Decode(T) Decodes the specified barcode bitmap.

Properties

DecodingOptions Options { get; set; }

Specifies some options which influence the decoding process

Methods

Result Decode(Byte[] rawRGB, int width, int height, BitmapFormat format)

Decodes the specified barcode bitmap which is given by a generic byte array.

Parameters

rawRGB The barcode bitmap.
width The width.
height The height.
format The format.

Return Types

the result data or null

Result Decode(LuminanceSource luminanceSource)

Tries to decode a barcode within an image which is given by a luminance source. That method gives a chance to prepare a luminance source completely before calling the time consuming decoding method. On the other hand there is a chance to create a luminance source which is independent from external resources (like Bitmap objects) and the decoding call can be made in a background thread.

Parameters

luminanceSource The luminance source.

Result Decode(T barcodeBitmap)

Decodes the specified barcode bitmap.

Parameters

barcodeBitmap The barcode bitmap.
  • No labels