none
Reading Binary data (RADAR IMAGE DATA) converting to an image format and DISPLAYING RRS feed

  • Question

  • Hii all

    Iam trying since 2 Weeks.  I am getting In valid error , during reading the binray stream

    moryStream ms = new MemoryStream(byt, 0, (byt.Length));

    pictureBox1.Image = (Image.FromStream((ms)));  - ERROR PARAMETERS ARE NOT VALID


    Graphics grp = CreateGraphics();

    grp.DrawImage(pictureBox1.Image, 0, 0);


    kindly  Help me in this issue .
    Wednesday, July 30, 2008 7:09 AM

Answers

  • Good morning! This forum is for helping customers interoperating with Windows via our open protocol documentation. Your issue does not appear to be related to our protocol documentation. Your question may be better answered by posting on the '.NET Base Class Library' forum at http://forums.msdn.microsoft.com/en-US/netfxbcl/threads/.

    By the way - I did a quick lookup on the base classes used in your code, and it appears to be Ok to me...perhaps a dump of the MemoryStream member values may show something (although I doubt that - CanRead should be true).

    Regards,
    Bill Wesse


    Escalation Engineer
    Thursday, July 31, 2008 8:43 AM