Gmagick::setimagechanneldepth
(PECL gmagick >= Unknown)
Gmagick::setimagechanneldepth — 特定の画像チャネルの深度を設定する
パラメータ
-
channel -
抽出するチャネル。RedChannel、GreenChannel、BlueChannel、OpacityChannel、 CyanChannel、MagentaChannel、YellowChannel、BlackChannel。
-
depth -
深度を表すビット数。
返り値
成功した場合に Gmagick オブジェクトを返します。
エラー / 例外
エラー時に GmagickException をスローします。