Imagick::getImageChannelRange

(PECL imagick 2.2.1)

Imagick::getImageChannelRangeGets channel range

˵��

Imagick::getImageChannelRange ( int $channel ) : array

Gets the range for one or more image channels. �˷�����Imagick����ImageMagick 6.4.0���ϰ汾����ʱ���á�

����

channel

Provide any channel constant that is valid for your channel mode. To apply to more than one channel, combine channel constants using bitwise operators. ȱʡΪImagick::CHANNEL_DEFAULT. �ο��� ͨ�������б�

����ֵ

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

�����쳣

����ʱ�׳� ImagickException��