My system
OpenCV version: 2.4.13
Host OS: Windows 8.1
python 2.7
Windows photo viewer to view the images.
imreading and then imwrite on pictures that were taken from high resolution camera the picture orientation changes the picture orientation.
=============== python code ====================
import numpy as np
import cv2
img = cv2.imread('1-0.jpg')
cv2.imwrite('1-1.jpg',img)
1-0.jpg size = 19.1 MB (20,065,690 bytes)
1-1.jpg size = 9.05 MB (9,492,507 bytes)