Imagick::setImageChannelDepth

(PECL imagick 2, PECL imagick 3)

Imagick::setImageChannelDepthSets the depth of a particular image channel

说明

public Imagick::setImageChannelDepth ( int $channel , int $depth ) : bool

Sets the depth of a particular image channel.

参数

channel

depth

返回值

成功时返回 true

错误/异常

错误时抛出 ImagickException。