anyone has alternative for Bitmap.FromStream in compact framework?

  • 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?