I'd like to take a stream of bytes, received via TCP, convert to image and display to the user.
My image is being sent as a uint8* binary array
and is in PNG
format.
In C#, I am doing this:
var image = Image.FromStream(new MemoryStream(ImageBytes));
However, I'd like to do the same but in C++. I am pretty new to C++ and can't being to think where I would start with this... I want to have minimal latency when converting my bytes to an image and displaying.
Any ideas?
Aucun commentaire:
Enregistrer un commentaire