(PECL imagick 2.1.0)
Imagick::mergeImageLayers — Merges image layers
$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.
此方法在Imagick基于ImageMagick 6.3.7以上版本编译时可用。
layer_method
One of the Imagick::LAYERMETHOD_*
constants
成功时返回 TRUE
。
错误时抛出 ImagickException。