English | 简体中文 | 繁體中文
查询

Gmagick::compositeimage()函数—用法及示例

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


适用版本(PECL gmagick >= Unknown)


说明

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


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

compose
Composite operator.

x
合成图像的列偏移量。

y
合成图像的行偏移量。

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

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

补充纠错
上一个函数: Gmagick::cropimage()函数
热门PHP函数
分享链接