Rotate jpg file based on EXIF data
Posted on 2008-10-27
I am not sure there is a solution for what I want to do but I thought I would ask anyways...
I have a .net application that gets xml from an external source with images.
I am loading the xml and images and displaying them, no image attributes are contained in the XML file.
Some images are lanscape and some portrait
Is there a way somehow how to use the EXIF data in the JPG to work out whether the shot should be displayed horizontally or vertically and rotate the image as neccassary???