using
$img = new Imagick();
$img->readImage( $local_da_imagem );
print_r( $img->getImageCompressionQuality() );
(PECL imagick 2 >= 2.2.2, PECL imagick 3)
Imagick::getImageCompressionQuality — Gets the current image's compression quality
此函数没有参数。
Returns integer describing the images compression quality