PHPTS:一键免费搭建 Nginx + PHP + MySQL 运行环境

Imagick::setCompression

(PECL imagick 2.0.0)

Imagick::setCompressionSets 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