Thru VB.net/C# is there any way to read any JPEG metadata to see if the photo was taken in a landscape or portrait?
I would suggest that an accelerometer is required for the camera, first of all, to say in which direction up ... right? Assuming that there is such intelligence to determine the angle of inclination, how will I read this information from JPEG?
I found several samples on the Internet to read metadata from vb / .net, not sure what to read to find the information I need.
Appreciate any pointers .....
source share