Hello,
I have started this problem within B4R panel, but now my question is from B4A site.
I am receiving images (jpg) from Arduino camera unit and after data conditioning I am able to got a bitmap for farther evaluation.
Everything is done by this procedure:
It means that I can have image only after storing a picture file.
Is it a way to use something like 'LoadBitmap' but directly from incoming stream or bytes array ?
I would like to not save an image as a file, hoping to receive them faster.
Kind regards
TomKluz
I have started this problem within B4R panel, but now my question is from B4A site.
I am receiving images (jpg) from Arduino camera unit and after data conditioning I am able to got a bitmap for farther evaluation.
Everything is done by this procedure:
B4X:
Dim out As OutputStream = File.OpenOutput(MyFolder, "Picture_" & i & ".jpg", False ) ' (or True)' depending from buffor content
out.WriteBytes(Buffer, 0, Buffer.Length)
out.Close
Is it a way to use something like 'LoadBitmap' but directly from incoming stream or bytes array ?
I would like to not save an image as a file, hoping to receive them faster.
Kind regards
TomKluz
Last edited: