php8.5
Home/ Manual/ imagick / imagick/ Imagick::getImageChannelRange

Imagick::getImageChannelRange

PHP function Edit on GitHub ✎

(PECL imagick 2 >= 2.2.1, PECL imagick 3)

Gets channel range

Description

Imagick::getImageChannelRange(int $channel): array

Gets the range for one or more image channels. 0x640

Parameters

channel

Channel

Return Values

Returns an array containing minima and maxima values of the channel(s).

Errors/Exceptions

Throws

Source: reference/imagick/imagick/getimagechannelrange.xml · from the official PHP manual (php/doc-en)