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 IBarcodeReader

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 with the order RGB24.
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(UIImage) Decodes the specified barcode image.

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 with the order RGB24.

Parameters

rawRGB The image as RGB24 array.
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(UIImage barcodeImage)

Decodes the specified barcode image.

Parameters

barcodeImage The barcode image.
  • No labels