Hi I am Currently building Xamarin Application to work mobile to scan pdf417 barcodes this is a snippet of my code
var photo = await Plugin.Media.CrossMedia.Current.TakePhotoAsync(new Plugin.Media.Abstractions.StoreCameraMediaOptions() { SaveToAlbum = true, PhotoSize = Plugin.Media.Abstractions.PhotoSize.Small });
if (photo != null)
{
// PhotoImage.Source = ImageSource.FromStream(() => { return photo.GetStream(); });
String DecodeString = “”;
BarCodeReader reader;
//Stream stream = photo.GetStream();
reader = new BarCodeReader(photo.Path,DecodeType.Pdf417);
reader.QualitySettings = QualitySettings.HighPerformance;
while (reader.Read())
{
BarcodeText.Text += reader.GetCodeText();
}
reader.Close();
I have to read the barcode and display it in a string to the user