Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<Gmagick::commentimageGmagick::__construct>
^GmagickLast updated: Mon, 26 Oct 2026

Gmagick::compositeimage

(PECL gmagick >= Unknown)

Gmagick::compositeimage — Composite one image onto another

Description

public function 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.


<Gmagick::commentimageGmagick::__construct>
^GmagickLast updated: Mon, 26 Oct 2026