Gmagick::compositeimage

(PECL gmagick >= Unknown)

Gmagick::compositeimageComposite one image onto another

说明

public Gmagick::compositeimage(
    Gmagick $source,
    int $COMPOSE,
    int $x,
    int $y
): Gmagick

Composite one image onto another at the specified offset.

参数

source

Gmagick object which holds the composite image.

compose

Composite operator.

x

The column offset of the composited image.

y

The row offset of the composited image.

返回值

The Gmagick object with compositions.

错误/异常

错误时抛出 GmagickException