php8.5
Home/ Manual/ imagick / imagick/ Imagick::coalesceImages

Imagick::coalesceImages

PHP function Edit on GitHub ✎

(PECL imagick 2, PECL imagick 3)

Composites a set of images

Description

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 Parameters

Return Values

Returns a new Imagick object on success.

Errors/Exceptions

Throws

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