TInvertedLuminanceSource.Matrix Method

Fetches luminance data for the underlying bitmap. Values should be fetched using:

int luminance = array[y * width + x] and 0xff

Unit: ZXing.InvertedLuminanceSource
function Matrix: TArray<Byte>

Return Value

Type: TArray<Byte>

A row-major 2D array of luminance values. Do not use result.length as it may be larger than width * height bytes on some platforms. Do not modify the contents of the result.

Overrides

ZXing.LuminanceSource.TLuminanceSource.Matrix