PHP 8.4.0 RC4 available for testing

Imagick::setCompression

(PECL imagick 2, PECL imagick 3)

Imagick::setCompressionSets the object's default compression type

Description

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

Sets the object's default compression type

Parameters

compression

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

Return Values

Returns true on success.

add a note

User Contributed Notes

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