|
-
February 13th, 2011, 02:11 PM
#4
Re: reading image data
 Originally Posted by Maejie
Thank you BigEd781,
I do as what you suggest me,
I now don't know how to change the byte array back into an image ?
I have tried
Image img=Image.FromStream(ms);
but the compiler states that ms is an invalid argument in the debug view, although I find that all of its properties are initialised. 
Did you call ms.Close(); as Big Ed suggested?
Once you call close on the memory stream you can't use it anymore.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|