Imagick::medianFilterImage
Imagick::minifyImage
The Imagick class
PHP Manual

# Imagick::mergeImageLayers

(PECL imagick 2.1.0)

Imagick::mergeImageLayers — Merges image layers

### Opis

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.

### Parametry

`layer_method`

  One of the `Imagick::LAYERMETHOD_*` constants

### Zwracane wartości

Zwraca `TRUE` w przypadku sukcesu.

### Błędy/Wyjątki

Zgłasza wyjątek ImagickException w przypadku błędu.

### Zobacz też:

- Imagick::flattenImages() - Merges a sequence of images

Imagick::medianFilterImage
Imagick::minifyImage
The Imagick class
PHP Manual