Contributor
4611 Points
954 Posts
May 08, 2011 07:18 AM|akhhttar|LINK
Hi,
Why don't you directly ues resp.GetResponseStreat() in System.Drawing.Image.FromStream() instead of converting the Response stream into Memory stream.
e.g.
System.Drawing.Image.FromStream( resp.GetResponseStreat())
Please also see http://www.aspcode.net/Using-thumbshotsorg-in-ASPNET-and-C-part-2.aspx
Thanks
-Akhtar
Contributor
4611 Points
954 Posts
Re: Parameter is not valid. memory stream error
May 08, 2011 07:18 AM|akhhttar|LINK
Hi,
Why don't you directly ues resp.GetResponseStreat() in System.Drawing.Image.FromStream() instead of converting the Response stream into Memory stream.
e.g.
Please also see http://www.aspcode.net/Using-thumbshotsorg-in-ASPNET-and-C-part-2.aspx
Thanks
-Akhtar
My Blog