...If the camera is rotated during recording, the image data is also encoded rotated. To correct the rotation again, the value of the rotation is stored in the metadata. If this value is ignored by the image viewer, the image will be displayed incorrectly.
How does ImageBox normalize the rotation?
When an image is loaded by the ImageBox, it is automatically rotated. The rotation is removed from the metadata and its value applied to the image data. ...