micjahn/ZXing.Net

Missing BitmapLuminanceSource in the ZXing.Net Nuget Package:

Closed this issue · 1 comments

This Class/Type is missing in the ZXing.Net Nuget Packge: https://github.com/micjahn/ZXing.Net/blob/master/Source/lib/BitmapLuminanceSource.cs

I need it for my BitmapLuminanceSource:
Bitmap imageBmp
LuminanceSource source;

// Create a luminance source from the bitmap
source = new BitmapLuminanceSource(imageBmp);

Binarizer binarizer = new HybridBinarizer(source);

BinaryBitmap bitmap = new BinaryBitmap(binarizer);

MultiFormatReader reader = new MultiFormatReader();

Result result = reader.decode(bitmap);

Ok i just found out it isnt included by design because a bitmap is not nativly included in .netcore.