Correct Image rotation and size