The Imagick class
PHP Manual

Imagick::getImageCompression

(PECL imagick 2.2.2)

Imagick::getImageCompressionGets the current image's compression type

Description

int Imagick::getImageCompression ( void )

Gets the current image's compression type.

Return Values

Returns the compression constant


The Imagick class
PHP Manual