GoLang Gmagick::setimagecolorspace

request it (227)
GoLang replacement for PHP's Gmagick::setimagecolorspace [edit | history]



Do you know a GoLang replacement for PHP's Gmagick::setimagecolorspace? Write it!

PHP Gmagick::setimagecolorspace

PHP original manual for Gmagick::setimagecolorspace [ show | php.net ]

Gmagick::setimagecolorspace

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