Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

Convert ZXing.Net generated Qr Code to png or jpg....

$
0
0

Hello,
I can successfully generate a Qr code from string using the ZXing.Net.Mobile.Forms in xamarin forms using this code provided
barcode = new ZXingBarcodeImageView
{
HorizontalOptions = LayoutOptions.FillAndExpand,
VerticalOptions = LayoutOptions.FillAndExpand,
};
barcode.BarcodeFormat = ZXing.BarcodeFormat.QR_CODE;
barcode.BarcodeOptions.Width = 600;
barcode.BarcodeOptions.Height = 600;
barcode.BarcodeOptions.Margin = 10;
barcode.BarcodeValue = "mystring";
I can successfully view the Qr Code in all platforms.
Now I wish to add the share option by sending this Qr code by email. For that, I need to convert the ZXingBarcodeImageView to png
Is there any cross platform solution to do so ?


Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>