Scholar Repository
Home>Manual>Sets the image compression

Sets the image compression


Imagick::setImageCompression

(PECL imagick 2.0.0)

Imagick::setImageCompressionSets the image compression

Description

bool Imagick::setImageCompression ( int $compression )

Parameters

compression

One of the COMPRESSION constants

Return Values

Returns TRUE on success.

Errors/Exceptions

Throws ImagickException on error.


Home>Manual>Sets the image compression