This function is added in version 3.3.0 and above
(PECL imagick 2.2.2)
Imagick::getImageCompression — Gets the current image's compression type
Gets the current image's compression type.
Returns the compression constant
This function is undefined. You must use getImageCompressionQuality() instead.