array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'de', ), 'this' => array ( 0 => 'imagick.setcompression.php', 1 => 'Imagick::setCompression', 2 => 'Sets the object\'s default compression type', ), 'up' => array ( 0 => 'class.imagick.php', 1 => 'Imagick', ), 'prev' => array ( 0 => 'imagick.setcolorspace.php', 1 => 'Imagick::setColorspace', ), 'next' => array ( 0 => 'imagick.setcompressionquality.php', 1 => 'Imagick::setCompressionQuality', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/imagick/imagick/setcompression.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

Imagick::setCompression

(PECL imagick 2, PECL imagick 3)

Imagick::setCompressionSets the object's default compression type

Beschreibung

public Imagick::setCompression(int $compression): bool

Sets the object's default compression type

Parameter-Liste

compression

The compression type. See the Imagick::COMPRESSION_* constants.

Rückgabewerte

Liefert true bei Erfolg.