Gmagick::setimagecolorspace

Sets the image colorspace

Description

public Gmagick Gmagick::setimagecolorspace(int $colorspace)

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.