PHP 5.6.14 is available


(PECL imagick 2.1.0)

Imagick::mergeImageLayersMerges image layers


bool Imagick::mergeImageLayers ( int $layer_method )

Merges image layers into one. This method is useful when working with image formats that use multiple layers such as PSD. The merging is controlled using the layer_method which defines how the layers are merged. This method is available if Imagick has been compiled against ImageMagick version 6.3.7 or newer.



One of the Imagick::LAYERMETHOD_* constants

Return Values

Returns TRUE on success.


Throws ImagickException on error.

See Also

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top