Imagick::getImageColorspace

(PECL imagick 2, PECL imagick 3)

Imagick::getImageColorspaceGets the image colorspace

Description

public Imagick::getImageColorspace(): int

Gets the image colorspace.

Parameters

This function has no parameters.

Return Values

Returns an integer which can be compared against COLORSPACE constants.