= Unknown)Gmagick::setimagecolorspace — Sets the image colorspace說(shuō)明public Gmagick::setimagecolorspace(int $c">

Gmagick::setimagecolorspace

(PECL gmagick >= Unknown)

Gmagick::setimagecolorspaceSets the image colorspace

說(shuō)明

public Gmagick::setimagecolorspace(int $colorspace): Gmagick

Sets the image colorspace.

參數(shù)

colorspace

One of the Colorspace constant (Gmagick::COLORSPACE_*).

返回值

The Gmagick object.

錯(cuò)誤/異常

錯(cuò)誤時(shí)拋出 GmagickException。