June 25, 2012
The image cannot be decoded. The image header might be corrupted
I was recently trying to send to Telerik’s image editing control a jpeg image in a stream format. I was checking for the other types and using the appropriate format providers, but I kept getting an exception when working with JPEGs : The image cannot be decoded. The image header might be corrupted With the following code : So, I...