Barcode Scanner With Image capture in Xamarin.forms -
i have implemented barcode scanner in xamarin application using xzing.net.mobile.forms component.which gives me bar code number. if want capture image @ same time of scanning .is there other plug in available give me image bar code. appreciated. in advance.
i think can use zxing.mobile.barcodewriter (it should exists xamarin forms)
public static imagesource qr(string data, int w, int h, int m) { var gen = new barcodewriter { format = barcodeformat.qr_code, options = new zxing.common.encodingoptions { height = h, width = w, margin = m } }; var bytes = gen.write(data); return imagesource.fromstream(() => new memorystream(bytes)); }
Comments
Post a Comment