Gets the image gamma.