Gmagick::compositeimage()

将一个图像合成到另一个图像上

首字母:G

适用版本(PECL gmagick >= Unknown)


说明

public Gmagick::compositeimage(
 Gmagick $source,
 int $COMPOSE,
 int $x,
 int $y
): Gmagick
以指定的偏移量将一个图像合成到另一个图像上。


参数 ¶
source
保存合成图像的Gmagick对象。

compose
Composite operator.

x
合成图像的列偏移量。

y
合成图像的行偏移量。

返回值 ¶
带有组合的gmagic对象。

错误/异常 ¶
错误时抛出 GmagickException。