Forum und email

Imagick::compareImageChannels

(No version information available, might be only in CVS)

Imagick::compareImageChannels — Returns the difference in one or more images

说明

Imagick Imagick::compareImageChannels ( Imagick $image , int $channelType , int $metricType )
Warning

本函数暂无文档,仅有参数列表。

Warning

本函数是实验性的。本函数的行为,包括函数名称以及其它任何关于本函数的文档可能会在没有通知的情况下随 PHP 以后的发布而改变。使用本函数风险自担。

Compares one or more images and returns the difference image.

参数

image

Imagick object containing the image to compare.

channelType

Provide any channel constant that is valid for your channel mode. To apply to more than one channel, combine channeltype constants using bitwise operators. Defaults to Imagick::CHANNEL_ALL. Refer to this list of channel constants.

metricType

One of the metric type constants.

返回值

Returns TRUE on success.