Imagick
PHP Manual

Imagick::getImageColorspace

(PECL imagick 2.0.0)

Imagick::getImageColorspaceGets the image colorspace

Description

int Imagick::getImageColorspace ( void )

Gets the image colorspace.

Return Values

Returns an integer which can be compared against COLORSPACE constants.


Imagick
PHP Manual