Imagick::getColorspace

(PECL imagick 3)

Imagick::getColorspaceGets the colorspace

说明

public Imagick::getColorspace ( ) : int

Gets the global colorspace value. 此方法在Imagick基于ImageMagick 6.5.7以上版本编译时可用。

返回值

Returns an integer which can be compared against COLORSPACE constants.