F
Fredo
I have an app that I'm writing to manage jpgs. Sometimes the photos are
corrupt. If I use something like ACDSee, it will show the image, but it will
have a note in the status bar that the image is corrupt, and it says,
specifically, "The source datastream is corrupt."
I'd like to be able to detect this as well with C#, but the Image.FromFile()
method returns the image and I can't see any way to determine if it's
corrupt. Is this simply not doable with the .NET framework?
Pete
corrupt. If I use something like ACDSee, it will show the image, but it will
have a note in the status bar that the image is corrupt, and it says,
specifically, "The source datastream is corrupt."
I'd like to be able to detect this as well with C#, but the Image.FromFile()
method returns the image and I can't see any way to determine if it's
corrupt. Is this simply not doable with the .NET framework?
Pete