(No version information available, might only be in Git)
Gmagick::setCompressionQuality — Sets the object's default compression quality
$quality
= 75
)Sets the object's default compression quality.
quality
The Gmagick object on success
错误时抛出 GmagickException。
Example #1 Gmagick::setCompressionQuality()
<?php
$gm = new Gmagick();
$gm->read("magick:rose");
$gm->setCompressionQuality(2);
?>