The Imagick class
PHP Manual

Imagick::setImageCompression

(PECL imagick 2.0.0)

Imagick::setImageCompressionSets the image compression

说明

bool Imagick::setImageCompression ( int $compression )

参数

compression

One of the COMPRESSION constants

返回值

Returns TRUE on success.

错误/异常

Throws ImagickException on error.


The Imagick class
PHP Manual