PHP Conference Japan 2024

Gmagick::setimagechanneldepth

(PECL gmagick >= 未知)

Gmagick::setimagechanneldepth設定特定影像通道的深度

說明

public Gmagick::setimagechanneldepth(int $channel, int $depth): Gmagick

設定特定影像通道的深度。

參數

channel

通道常數之一(Gmagick::CHANNEL_*)。

depth

影像深度,以位元為單位。

傳回值

Gmagick 物件。

錯誤/例外

發生錯誤時,拋出 GmagickException

新增筆記

使用者貢獻筆記

此頁面沒有使用者貢獻筆記。
To Top