Gmagick::setimagechanneldepth
Gmagick::setimagecompose
Gmagick
PHP Manual

# Gmagick::setimagecolorspace

(PECL gmagick >= Unknown)

Gmagick::setimagecolorspace — Sets the image colorspace

### 설명

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

Sets the image colorspace.

### 인수

`colorspace`

  The image colorspace: UndefinedColorspace, RGBColorspace, GRAYColorspace, TransparentColorspace, OHTAColorspace, XYZColorspace, YCbCrColorspace, YCCColorspace, YIQColorspace, YPbPrColorspace, YPbPrColorspace, YUVColorspace, CMYKColorspace, sRGBColorspace, HSLColorspace, or HWBColorspace.

### 반환값

The Gmagick object on success

### 오류/예외

Throws an GmagickException on error.

Gmagick::setimagechanneldepth
Gmagick::setimagecompose
Gmagick
PHP Manual