.net bitmap file type limitations

Posted by David Archer on Stack Overflow See other posts from Stack Overflow or by David Archer
Published on 2010-04-15T08:39:01Z Indexed on 2010/04/15 8:43 UTC
Read the original article Hit count: 221

Filed under:
|
|
|

Hi,

Given the line:

Bitmap bitmap = new Bitmap(stream);

where stream is a System.IO.Stream, are there any limitations on the image file type e.g png, jpg, gif etc that can be handled. i.e are all image file/stream header info clear enough to say "I am an image".

I haven't run into any yet, but have only being using the pretty standard ones so far.

Thanks

© Stack Overflow or respective owner

Related posts about .NET

Related posts about c#