Android Question How to load binary image data into ImagV

MomoWen

Member
Licensed User
I pulled the binary image data from the XML read, but I couldn't find a way to add it to the ImagV
This is a scheme I found, but it is out of memory How to load binary image data into ImagV:
    Dim  bitm As Bitmap
    Dim Abit As InputStream
    Dim buff() As Byte =    xml.Imagestr.GetBytes("UTF8")
    Abit.InitializeFromBytesArray(buff,0,buff.Length)
    bitm.Initialize2(Abit)
    ImagV.Bitmap=bitm
 
Top