php8.5
Home/ Manual/ gmagick / gmagick/ Gmagick::addimage

Gmagick::addimage

PHP function Edit on GitHub ✎

(PECL gmagick >= Unknown)

Adds new image to Gmagick object image list

Description

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.

Parameters

source

The source Gmagick object

Return Values

The Gmagick object with image added

Errors/Exceptions

Throw

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