Gets the image colorspace
Gets the image colorspace.
Returns an integer which can be compared against COLORSPACE constants.