orientate — adjusts image orientation automatically