Imagick::setColorspace

(PECL imagick 3)

Imagick::setColorspaceSet colorspace

說明

public Imagick::setColorspace(int $COLORSPACE): bool

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

參數(shù)

COLORSPACE

One of the COLORSPACE constants

返回值

成功時返回 true。

錯誤/異常

錯誤時拋出 ImagickException。