Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 58056

Convert 'Xamarin.Form.Image' type 'byte[]'

$
0
0

Hi All

i am suppose to get an Image from url and convert it into byte[]. The following is what I achieved

var webImage = new Image { Aspect = Aspect.AspectFit };
webImage.Source = ImageSource.FromUri(new Uri("http://xamarin.com/content/images/pages/forms/example-app.png"));

but now I am unable to convert Image type to byte[]

Is this the correct way to approach. Any kind of help would be apprciated.


Viewing all articles
Browse latest Browse all 58056

Trending Articles



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