The Imagick class
PHP Manual

Imagick::getImageCompression

(PECL imagick 2.2.2)

Imagick::getImageCompressionGets the current image's compression type

说明

int Imagick::getImageCompression ( void )

Gets the current image's compression type.

返回值

Returns the compression constant


The Imagick class
PHP Manual