Background
I am using Image.FromFile to load a jpeg into an app. The image is in portrait in explorer, windows image viewer, Photoshop and everything else. When I load it with Image.FromFile, C# tells me it is in landscape mode (height and width are wrong way around), so when I now attempt to manipulate and then save the image out later on, the image is in the wrong orientation and is now rotated and distorted, which it shouldn't be.
Question Does anybody know if Image.FromFile takes any notice of orientation in Exif data? Or does anyone know of any bugs or "features" that could be causing this?
PS
I am only using m_img = Image.FromFile(file);
and checking the height and width using watches in visual studio directly after load, and saving the image back out after its been converted to a Bitmap using Clone by doing m_out.Save(g_target + "\\" + m_file, m_enc, m_enc_params);