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