Adjust the properties of an image