php / 8.1.5 / gmagick.compositeimage.html /

Gmagick::compositeimage

(PECL gmagick >= Unknown)

Gmagick::compositeimageComposite one image onto another

Description

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

Composite one image onto another at the specified offset.

Parameters

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.

Return Values

The Gmagick object with compositions.

Errors/Exceptions

Throws an GmagickException on error.

© 1997–2021 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/gmagick.compositeimage.php