array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'de', ), 'this' => array ( 0 => 'gmagick.setcompressionquality.php', 1 => 'Gmagick::setCompressionQuality', ), 'up' => array ( 0 => 'class.gmagick.php', 1 => 'Gmagick', ), 'prev' => array ( 0 => 'gmagick.separateimagechannel.php', 1 => 'Gmagick::separateimagechannel', ), 'next' => array ( 0 => 'gmagick.setfilename.php', 1 => 'Gmagick::setfilename', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/gmagick/gmagick/setcompressionquality.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(No version information available, might only be in Git)
Gmagick::setCompressionQuality — Sets the object's default compression quality
Sets the object's default compression quality.
quality
The Gmagick object.
Wirft bei einem Fehler eine GmagickException.
Beispiel #1 Gmagick::setCompressionQuality()
<?php
$gm = new Gmagick();
$gm->read("magick:rose");
$gm->setCompressionQuality(2);
?>