Table of Contents

Class BitmapSourceLuminanceSource

Namespace
ZXing
Assembly
zxing.dll

class which represents the luminance source values for bitmap source objects

public class BitmapSourceLuminanceSource : BaseLuminanceSource
Inheritance
BitmapSourceLuminanceSource
Inherited Members

Constructors

BitmapSourceLuminanceSource(int, int)

Initializes a new instance of the BitmapSourceLuminanceSource class.

protected BitmapSourceLuminanceSource(int width, int height)

Parameters

width int

The width.

height int

The height.

BitmapSourceLuminanceSource(BitmapSource)

Initializes a new instance of the BitmapSourceLuminanceSource class.

public BitmapSourceLuminanceSource(BitmapSource bitmap)

Parameters

bitmap BitmapSource

The bitmap.

Methods

CreateLuminanceSource(byte[], int, int)

Should create a new luminance source with the right class type. The method is used in methods crop and rotate.

protected override LuminanceSource CreateLuminanceSource(byte[] newLuminances, int width, int height)

Parameters

newLuminances byte[]

The new luminances.

width int

The width.

height int

The height.

Returns

LuminanceSource