php8.5
Home/ Manual/ gmagick / gmagick/ Gmagick::compositeimage

Gmagick::compositeimage

PHP function Edit on GitHub ✎

(PECL gmagick >= Unknown)

Composite one image onto another

Description

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

Throw

Source: reference/gmagick/gmagick/compositeimage.xml · from the official PHP manual (php/doc-en)