# Imagick::coalesceImages

(PECL imagick 2, PECL imagick 3)

Imagick::coalesceImages — Composites a set of images

### 说明

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

### 参数

此函数没有参数。

### 返回值

Returns a new Imagick object on success.

### 错误／异常

错误时抛出 ImagickException。

`↑` and `↓` to navigate • `Enter` to select • `Esc` to close • `/` to open