Gmagick
PHP Manual

Gmagick::setimagecolorspace

(PECL gmagick >= Unknown)

Gmagick::setimagecolorspaceSets the image colorspace

Descrição

public Gmagick Gmagick::setimagecolorspace ( int $colorspace )

Sets the image colorspace.

Parâmetros

colorspace

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

Valor Retornado

The Gmagick object on success

Erros

Lança uma exceção GmagickException em erros.


Gmagick
PHP Manual