(PECL imagick 3)
Imagick::getColorspace — Gets the colorspace
Gets the global colorspace value. This method is available if Imagick has been compiled against ImageMagick version 6.5.7 or newer.
This function has no parameters.
Returns an integer which can be compared against COLORSPACE constants.