Hi,
I want to port this line of code to c# in compact framework:
Bitmap bmp = (Bitmap) Bitmap.FromStream(new MemoryStream(buffer, start, stop - start));
but Bitmap.FromStream does not exists....
Anyone has piece of code to work arround it?
thanks
Hi,
I want to port this line of code to c# in compact framework:
Bitmap bmp = (Bitmap) Bitmap.FromStream(new MemoryStream(buffer, start, stop - start));
but Bitmap.FromStream does not exists....
Anyone has piece of code to work arround it?
thanks
i can do this:
MemoryStream mem = new MemoryStream(buffer, start, stop - start);
Bitmap bmp = new Bitmap(mem);
but this gives me an exception on the last sentence....
in c# in .net on desktop this works fine....
i'm trying to visualize a mjpeg stream from an ip-camera...
anyone did this before?