Imagick Image Library
PHP Manual

Imagick::compositeImage

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

Imagick::compositeImage — Composite one image onto another

说明

bool Imagick::compositeImage ( Imagick $composite_object , int $composite , int $x , int $y [, int $channel ] )
Warning

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

Warning

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

Composite one image onto another at the specified offset.

参数

composite_object

Imagick object which holds the composite image

compose

Composite operator. See Composite Operator Constants

x

The column offset of the composited image

y

The row offset of the composited image

channel

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.

返回值

Returns TRUE on success.


Imagick Image Library
PHP Manual