Imagick::setImageCompression

Sets the image compression

Description

public bool Imagick::setImageCompression(int $compression)

Parameters

compression

One of the COMPRESSION constants

Return Values

Returns true on success.

Errors/Exceptions

Throws ImagickException on error.