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.

參數(shù)

channel

depth

返回值

成功時(shí)返回 true

錯誤/異常

錯誤時(shí)拋出 ImagickException。