list(of byte) to Picturebox
Posted
by michael
on Stack Overflow
See other posts from Stack Overflow
or by michael
Published on 2010-05-19T19:29:57Z
Indexed on
2010/05/19
19:40 UTC
Read the original article
Hit count: 171
I have a jpeg file that is being held as a list(of Byte) Currently I have code that I can use to load and save the jpeg file as either a binary (.jpeg) or a csv of bytes (asadsda.csv).
I would like to be able to take the list(of Byte) and convert it directly to a Picturebox without saving it to disk and then loading it to the picturebox.
If you are curious, the reason I get the picture file as a list of bytes is because it gets transfered over serial via an industrial byte oriented protocol as just a bunch of bytes.
I am using VB.net, but C# example is fine too.
© Stack Overflow or respective owner