Gmagick::setCompressionQuality

Sets the object's default compression quality

&reftitle.description; `Gmagick` `Gmagick::setCompressionQuality` `int` `quality` 75

Sets the object's default compression quality.

&reftitle.parameters;

`quality`

&reftitle.returnvalues;

The `Gmagick` object.

&reftitle.errors;

&gmagick.gmagickexception.throw;

&reftitle.examples;

### `Gmagick::setCompressionQuality`

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