Imagick
PHP Manual

Imagick::setImageCompressionQuality

(No version information available, might only be in Git)

Imagick::setImageCompressionQualitySets the image compression quality

说明

bool Imagick::setImageCompressionQuality ( int $quality )

Sets the image compression quality.

参数

quality

The image compression quality as an integer

返回值

成功时返回 TRUE

错误/异常

错误时抛出 ImagickException。


Imagick
PHP Manual