I have Xamarin.Forms.Image or image file in project (embedded resource). I need convert to ToBase64String, but I don't know how get byte array.
If I try use System.Drawing.Image then I get excepition.
If i try use File.ReadAllBytes then file not found all time. I specify links from android or embedded resource of project.
Maybe you can convert a page to bytes or Xamarin.Forms.Image convert to Bitmap as an option?