private async void imgFoto_Tapped(object sender, TappedRoutedEventArgs e) { try { IRandomAccessStream fileStream; FileOpenPicker openPicker = new FileOpenPicker(); openPicker.SuggestedStartLocation = PickerLocationId.PicturesLibrary; openPicker.ViewMode = PickerViewMode.Thumbnail; openPicker.FileTypeFilter.Clear(); openPicker.FileTypeFilter.Add(".png"); openPicker.FileTypeFilter.Add(".jpeg"); openPicker.FileTypeFilter.Add(".jpg"); StorageFile file = await openPicker.PickSingleFileAsync(); if (file != null) { fileStream = await file.OpenAsync(FileAccessMode.Read); fotoBytes = await Convertidor.ConvertImageToBytes(fileStream); bimgBitmapImage.SetSource(fileStream); imgFoto.Source = bimgBitmapImage; } lblTexto.Focus(FocusState.Programmatic); } catch (Exception ex) { Helper.MensajeOk(ex.Message); } }