Weird exception

meeyamo

New member
Joined
Feb 2, 2004
Messages
1
When loading an Image from a stream (either via New Bitmap(stream) or Image.FromStream(stream)) - I usually get it to work.

For some reason, some images give me an "Invalid parameter" exception. The streams are of perfectally okay images (and they are of GIF files, on the other hand, most GIFs do work for me) - they work when outputted directly to IE.

Whats wrong?
Is it a special GIF version that is messing it up?

Why is there no more information on the matter?
 
maybe you have to tell the constructor the format of the image? did you test that?
 
Back
Top