PHP 8.2.0 Alpha 2 available for testing

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。

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top