php / 8.1.5 / gmagick.getimagecolorspace.html /

Gmagick::getimagecolorspace

(PECL gmagick >= Unknown)

Gmagick::getimagecolorspaceGets the image colorspace

Description

public Gmagick::getimagecolorspace(): int

Gets the image colorspace.

Parameters

This function has no parameters.

Return Values

Colorspace

Errors/Exceptions

Throws an GmagickException on error.

© 1997–2021 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/gmagick.getimagecolorspace.php