Method to set an explict orientation for an image.