Imagick
PHP Manual

Imagick::getImageColorspace

(PECL imagick 2.0.0)

Imagick::getImageColorspaceGets the image colorspace

说明

int Imagick::getImageColorspace ( void )

Gets the image colorspace.

返回值

Returns an integer which can be compared against COLORSPACE constants.


Imagick
PHP Manual