Posted By: tgraupmann648 | Aug 28th, 2008 @ 10:32 AM
page 1 of 1
Comments: 4 | Views: 432
I have a PNG image that when I open in Gimp or VirtualDub, it tells me there's a problem with the image. And visually I can see that the bottom of the image is black because it's been truncated.

But when I open with System.Drawing.Bitmap = new Bitmap("my.png"), I do not see a format exception at all. There are no properties that indicate a problem that I can see.

How can I predetect an issue with an image so that I can do some error handling?

Thanks,

~Tim
page 1 of 1
Comments: 4 | Views: 432
Microsoft Communities