PHP 8.3.4 Released!

Imagick::compareImageChannels

(PECL imagick 2, PECL imagick 3)

Imagick::compareImageChannelsひとつあるいは複数の画像の差を返す

説明

public Imagick::compareImageChannels(Imagick $image, int $channelType, int $metricType): array

ひとつあるいは複数の画像を比較し、差分の画像を返します。

パラメータ

image

比較する画像を含む Imagick オブジェクト。

channelType

そのチャネルモードで使用可能なチャネル定数を指定します。 複数のチャネルを指定するには、チャネル型定数をビット演算子で結合します。 チャネル定数 の一覧を参照ください。

metricType

メトリック型定数 のいずれか。

戻り値

new_wanddistortion を含む配列を返します。

エラー / 例外

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

add a note

User Contributed Notes

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