Gmagick::setimagechanneldepth
(PECL gmagick >= Unknown)
Gmagick::setimagechanneldepth — Sets the depth of a particular image channel
说明
public Gmagick::setimagechanneldepth(
int $channel
,
int $depth
):
Gmagick
参数
-
channel
-
One of the Channel constant
(Gmagick::CHANNEL_*
).
-
depth
-
The image depth in bits.
错误/异常
错误时抛出
GmagickException�