Imagick::setCompression()
(PECL imagick 2.0.0)
Sets the object's default compression type
说明
Imagick::setCompression(int $compression): bool
Sets the object's default compression type
参数
- $compression
The compression type. See the Imagick::COMPRESSION_* constants.
返回值
成功时返回TRUE
。