Please wait while we load your page...
 

Announcements

PHP Manual :: Gmagick::setimagecolorspace



Gmagick::setimagechanneldepth || Gmagick::setimagecompose || Gmagick || PHP Manual

(PECL gmagick >= Unknown)

Gmagick::setimagecolorspaceSets the image colorspace

Description

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.

Return Values

The Gmagick object on success

Errors/Exceptions

Throws an GmagickException on error.



Gmagick::setimagechanneldepth || Gmagick::setimagecompose || Gmagick || PHP Manual
Live Chat Not Available