Gmagick::setimagecolorspace

(PECL gmagick >= Unknown)

Gmagick::setimagecolorspaceSets the image colorspace

Description

publicGmagick::setimagecolorspace(int$colorspace): Gmagick

Sets the image colorspace.

Parameters

colorspace

One of the Colorspace constant (Gmagick::COLORSPACE_*).

Return Values

The Gmagick object.

Errors/Exceptions

Throws an GmagickException on error.

To Top