Reputation: 13334
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)?
Upvotes: 3
Views: 1211