Cannot convert image to byte[]

ricardoventuraricardoventura Member ✭✭
edited May 31 in Xamarin.Forms

First of all, hello everyone!
I already tried many solution in other questions made by other users and none of them didn't work. Any suggestions?

This is my code right now:
private static byte[] ConverterImagem(Image myImage)
{
var memorySteam = new MemoryStream();
myImage.//don't know what put here...
return memorySteam.ToArray();
}

Answers

Sign In or Register to comment.