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
 
<Imagick::clutImageImagick::colorFloodfillImage>
^ImagickLast updated: Mon, 26 Oct 2026

Imagick::coalesceImages

(PECL imagick 2, PECL imagick 3)

Imagick::coalesceImages — Composites a set of images

Description

public function Imagick::coalesceImages(): Imagick

Composites a set of images while respecting any page offsets and disposal methods. GIF, MIFF, and MNG animation sequences typically start with an image background and each subsequent image varies in size and offset. Returns a new Imagick object where each image in the sequence is the same size as the first and composited with the next image in the sequence.

Parameters

This function has no parameters.

Return Values

Returns a new Imagick object on success.

Errors/Exceptions

Throws ImagickException on error.


<Imagick::clutImageImagick::colorFloodfillImage>
^ImagickLast updated: Mon, 26 Oct 2026