(PECL gmagick >= Unknown)
Gmagick::setimagecolorspace — Sets the image colorspace
public Gmagick::setimagecolorspace(int $colorspace): Gmagick
Sets the image colorspace.
colorspace One of the Colorspace constant (Gmagick::COLORSPACE_*).
The Gmagick object.
Throws an GmagickException on error.
© 1997–2025 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/gmagick.setimagecolorspace.php