(PECL imagick 2.0.0)
Sets the image colorspace
bool Imagick::setImageColorspace ( int $colorspace )
Sets the image colorspace. This method should be used when creating new images. To change the colorspace of an existing image, you should use Imagick::transformImageColorspace().
Parameters:
colorspace
One of the COLORSPACE constants
Returns:
Returns TRUE
on success.
Exception:
Throws ImagickException on error.
Please login to continue.