# Gmagick::addimage

(PECL gmagick >= Unknown)

Gmagick::addimage — Adds new image to Gmagick object image list

### 说明

public Gmagick::addimage(Gmagick `$source`): Gmagick

Adds new image to Gmagick object from the current position of the source object. After the operation iterator position is moved at the end of the list.

### 参数

`source`
  The source Gmagick object

### 返回值

The Gmagick object with image added

### 错误／异常

错误时抛出 GmagickException。

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