CakeFest 2024: The Official CakePHP Conference

Gmagick::separateimagechannel

(PECL gmagick >= Unknown)

Gmagick::separateimagechannel画像からチャネルを分離する

説明

public Gmagick::separateimagechannel(int $channel): Gmagick

画像からチャネルを分離し、グレースケール画像を返します。 channel には、画像の各ピクセルの特定の色コンポーネントを指定します。

パラメータ

channel

チャンネル 定数のうちの一つ。 (Gmagick::CHANNEL_*)

戻り値

Gmagick オブジェクトを返します。

エラー / 例外

エラー時に GmagickException をスローします。

add a note

User Contributed Notes

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