I'm having an issue using the getImageCompression() method from Imagick. When I use it I receive an error (haven't found any problem with any of the other methods so far):
$img = new imagick('/path/to/jpeg');
$img->getImageCompose(); // some value
$img->getImageCompression(); // Call to undefined method Imagick::getImageCompression()
$img->getImageCompressionQuality(); // some value
I'm running PHP 5.3.10 with php5-imagick 3.1.0 (I know it's in beta, but getImageCompression() was released in 2.2.2) and ImageMagick 6.6.9-7.
Am I missing something or is the getImageCompression() method effectively missing (if so, is there an alternative for retrieving the image compression)?
PHP cliand AFAIK there is nothing to restart (sorry for not mentioning that in question).php -r "print_r(phpinfo());" | grep imagickgives meimagick moduleenabled with version3.1.0RC1