How to check if MemoryStream can convert to Bitmap in .NET ?

Posted by Thyphuong on Stack Overflow See other posts from Stack Overflow or by Thyphuong
Published on 2010-03-27T04:20:00Z Indexed on 2010/03/27 4:33 UTC
Read the original article Hit count: 133

Filed under:
|

As the question mentioned, I have a memorystream from a Byte[] ByteArr. How can I check if it can convert to a bitmap before using it with Bitmap myImg = new Bitmap(memorystream).

© Stack Overflow or respective owner

Related posts about c#

Related posts about .NET