|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #63939 Why GMagick::getCompressionQuality does not exists?
Submitted: 2013-01-08 10:22 UTC Modified: 2013-10-19 09:12 UTC
Avg. Score:4.5 ± 0.5
Reproduced:2 of 2 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: jeremy dot benoist at gmail dot com Assigned: vito (profile)
Status: Closed Package: gmagick (PECL)
PHP Version: 5.3.20 OS: Debian
Private report: No CVE-ID: None
 [2013-01-08 10:22 UTC] jeremy dot benoist at gmail dot com
I'm using both Imagick & Gmagick. For a given image, I want to retrieve the 
compression quality when I load the image resource.

It works fine using Imagick, because the `getCompressionQuality` is implemented. 
But it doesn't work with Gmagick.

Gmagick has implemented `setCompressionQuality` - which isn't in the documentation 
btw (see #59005 & but why 
`getCompressionQuality` has not been implemented?

Test script:
$img = new Gmagick();

Expected result:
No error.

Actual result:
PHP Fatal error:  Call to undefined method Gmagick::getCompressionQuality()


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2013-10-19 09:12 UTC]
-Status: Open +Status: Closed -Assigned To: +Assigned To: vito
 [2013-10-19 09:12 UTC]
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at and the instructions on how to report
a bug at

This mirrors the magick_wand available here:

for which MagickGetCompressionQuality isn't available as well.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Apr 17 22:01:26 2024 UTC