(PECL gmagick >= Unknown)
Sets the image colorspace
public Gmagick Gmagick::setimagecolorspace ( int $colorspace )
Sets the image colorspace.
Parameters:
colorspace
The image colorspace: UndefinedColorspace, RGBColorspace, GRAYColorspace, TransparentColorspace, OHTAColorspace, XYZColorspace, YCbCrColorspace, YCCColorspace, YIQColorspace, YPbPrColorspace, YPbPrColorspace, YUVColorspace, CMYKColorspace, sRGBColorspace, HSLColorspace, or HWBColorspace.
Returns:
The Gmagick object on success
Exception:
Throws an GmagickException on error.
Please login to continue.