Imagick::getColorspace

(PECL imagick 3)

Imagick::getColorspaceGets the colorspace

說明

public Imagick::getColorspace(): int

Gets the global colorspace value. 此方法在Imagick基于ImageMagick 6.5.7以上版本編譯時可用。

參數(shù)

此函數(shù)沒有參數(shù)。

返回值

Returns an integer which can be compared against COLORSPACE constants.