(PECL imagick 2.1.0)
Imagick::mergeImageLayers — Merges image layers
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. Ta metoda jest dostępna, jeśli rozszerzenie Imagick zostało skompilowane z ImageMagick w wersji 6.3.7 lub nowszej.
One of the Imagick::LAYERMETHOD_* constants
Zwraca TRUE w przypadku sukcesu.
Zgłasza wyjątek ImagickException w przypadku błędu.