(PECL imagick 2, PECL imagick 3)
Imagick::setCompression — Sets the object's default compression type
public Imagick::setCompression ( int $compression ) : bool
Sets the object's default compression type
compression
The compression type. See the Imagick::COMPRESSION_* constants.
Returns true
on success.
© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/imagick.setcompression.php