hello everyone, i'm very close to finishing my app, i'm stuck trying to reconstruct an image from a byte array, i'm receiving the byte array from an application written in visual studio 2008, everything else works just fine.
i have this code given to me by Poseidon who has been kind enough to share it with me but i get an error saying "error loading bitmap"
I will really appreciate it if someone can help me figure this out
thanks everyone,
Walter
i have this code given to me by Poseidon who has been kind enough to share it with me but i get an error saying "error loading bitmap"
I will really appreciate it if someone can help me figure this out
B4X:
Dim InputStream1 As InputStream
InputStream1.InitializeFromBytesArray(msg1, 0, msg1.Length) 'msg1 contains the data received from the server.
Dim bitmap1 As Bitmap
bitmap1.Initialize2(InputStream1)
imageview2.Bitmap = bitmap1
thanks everyone,
Walter