I’m strugling a bit with old libs and can’t seem to get from QRCodeWriter to a Image.Source I can put in my Image 😀
I do as following:
QRCodeWriter writer = new QRCodeWriter();
var bMatrix = writer.encode("FOO FOO FOO", BarcodeFormat.QR_CODE, 300, 300);
But from there on I’m lost. bMatrix has a property Array, but this is of type zxings’s ByteMatrix and I still need to get to Image.Source.
WriteableBitmap has SetSource and SetValue but I can’t wrap my head around getting from ByteMatrix. 🙁
Try this (got it off of pastebin: http://pastebin.com/612q0Qrb)