The Imagick class
PHP Manual

Imagick::setColorspace

(No version information available, might only be in SVN)

Imagick::setColorspaceSet colorspace

Descrição

bool Imagick::setColorspace ( int $COLORSPACE )

Sets the global colorspace value for the object. This method is available if Imagick has been compiled against ImageMagick version 6.5.7 or newer.

Parâmetros

COLORSPACE

One of the COLORSPACE constants

Valor Retornado

Retorna TRUE em sucesso.

Erros

Dispara ImagickException em erro.


The Imagick class
PHP Manual