Imagick
PHP Manual

Imagick::setCompression

(PECL imagick 2.0.0)

Imagick::setCompressionSets the object's default compression type

Description

bool Imagick::setCompression ( int $compression )

Sets the object's default compression type

Parameters

compression

The compression type. See the Imagick::COMPRESSION_* constants.

Return Values

Returns TRUE on success.


Imagick
PHP Manual