Imagick::setImageCompose
Imagick::setImageCompressionQuality
The Imagick class
PHP Manual

# Imagick::setImageCompression

(PECL imagick 2.0.0)

Imagick::setImageCompression — Sets the image compression

### Descrição

bool Imagick::setImageCompression ( int `$compression` )

### Parâmetros

`compression`

  One of the `COMPRESSION` constants

### Valor Retornado

Retorna `TRUE` em sucesso.

### Erros

Dispara ImagickException em erro.

Imagick::setImageCompose
Imagick::setImageCompressionQuality
The Imagick class
PHP Manual