PHP 8.3.0 RC 6 available for testing

Imagick::setCompression

(PECL imagick 2, PECL imagick 3)

Imagick::setCompressionSets the object's default compression type

说明

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

Sets the object's default compression type

参数

compression

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

返回值

成功时返回 true

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top