0
Vote

Add auto-rotation functionality

description

If the orientation of the image can be determined, then this function should rotate the image so that it can be viewed correctly.
 
http://msdn.microsoft.com/en-us/library/ms534416.aspx
 
PropertyTagOrientation
Image orientation viewed in terms of rows and columns.
 
Tag
 
0x0112
 
Type
 
PropertyTagTypeShort
 
Count
 
1
 
1 - The 0th row is at the top of the visual image, and the 0th column is the visual left side. 2 - The 0th row is at the visual top of the image, and the 0th column is the visual right side. 3 - The 0th row is at the visual bottom of the image, and the 0th column is the visual right side. 4 - The 0th row is at the visual bottom of the image, and the 0th column is the visual left side. 5 - The 0th row is the visual left side of the image, and the 0th column is the visual top. 6 - The 0th row is the visual right side of the image, and the 0th column is the visual top. 7 - The 0th row is the visual right side of the image, and the 0th column is the visual bottom. 8 - The 0th row is the visual left side of the image, and the 0th column is the visual bottom.

comments