Gmagick::setCompressionQuality

(No version information available, might only be in Git)
Sets the object's default compression quality
bool Gmagick::setCompressionQuality ( int $quality = 75 )

Sets the object's default compression quality.

Parameters:
quality

Sets the object's default compression quality.

Returns:

The Gmagick object on success

Exception:

Throws an GmagickException on error.

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

doc_php
2016-02-24 16:00:20
Comments
Leave a Comment

Please login to continue.