PHP
Image/ImageMagick

Imagick::setCompression

Imagick::setCompression

(PECL imagick 2.0.0)

Imagick::setCompression — Sets 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::setColorspace

Imagick::setCompressionQuality →

© 1997–2017 The PHP Documentation Group

Licensed under the Creative Commons Attribution License v3.0 or later.

https://secure.php.net/manual/en/imagick.setcompression.php