locked
Parameter is not valid RRS feed

  • Question

  • User1935984934 posted
    Anybody has a glue on why I am getting this error ? [url]http://www.corobori.com/sos/picC_1.jpg[/url]
    Tuesday, February 19, 2008 1:43 PM

Answers

  • User1935984934 posted
    It appears that changing the offset to Int32 offset = 0; did the trick. It is working now. Don't know why my sample had = 78
    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, February 19, 2008 3:14 PM

All replies

  • User-239604245 posted

    Are you sure your stream contains an image (and is not a null reference)?

     

    Tuesday, February 19, 2008 1:52 PM
  • User-1977747231 posted

    Hi,

     you need to reset position of memory stream pointer to begining .

    mstream.Flush();

    mstream.Position = 0;

    Thanks,

    Kiran

    Tuesday, February 19, 2008 1:57 PM
  • User1935984934 posted
    It appears that changing the offset to Int32 offset = 0; did the trick. It is working now. Don't know why my sample had = 78
    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, February 19, 2008 3:14 PM