LuminanceSource for XAML based apps

Apr 7, 2016 at 2:54 PM

I am trying to read a QR code image and stuck at creating Binarizer object using HybridBinarizer and I dont see what LuminanceSource should i provide because RGBLuminanceSource needs reference to System.Windows and mine is XAML based app.

Is there way to convert WriteableBitmap to BinaryBitmap