Gmagick
PHP Manual

Gmagick::setCompressionQuality

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

Gmagick::setCompressionQualitySets the object's default compression quality

Descrierea

Gmagick Gmagick::setCompressionQuality ( int $quality = 75 )

Sets the object's default compression quality.

Parametri

quality

Valorile întoarse

The Gmagick object on success

Erori/Excepții

Emite o GmagickException în caz de eroare.

Exemple

Example #1 Gmagick::setCompressionQuality()

<?php
$gm 
= new Gmagick();
$gm->read("magick:rose");
$gm->setCompressionQuality(2);
?>


Gmagick
PHP Manual