Gmagick::setimagecolorspace

(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.

doc_php
2016-02-24 16:00:21
Comments
Leave a Comment

Please login to continue.