0

I am writing Windows Phone 8.1 app (WINRT)

I am picking a photo from gallery using FileOpenPicker and then in ContinueFileOpenPicker, how to convert it into Base64??

  public void ContinueFileOpenPicker(FileOpenPickerContinuationEventArgs args)
        {
            var FileOpenPickerContinuationEventArgs_File = args.Files.FirstOrDefault();

//Convert to URI
//Convert to Image
//Convert to Base64


}
Atif Shabeer
  • 553
  • 6
  • 18

1 Answers1

0

You could use Convert.ToBase64String in order to convert the image into Base64:

Community
  • 1
  • 1
Kulasangar
  • 9,046
  • 5
  • 51
  • 82