php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #77127 A bug on Imagick::setImageCompressionQuality()
Submitted: 2018-11-08 21:42 UTC Modified: 2018-11-08 22:34 UTC
From: vhpvhp at msn dot com Assigned:
Status: Open Package: imagick (PECL)
PHP Version: 7.2.12 OS: Windows
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: vhpvhp at msn dot com
New email:
PHP Version: OS:

 

 [2018-11-08 21:42 UTC] vhpvhp at msn dot com
Description:
------------
http://php.net/manual/imagick.setimagecompressionquality.php

For a PNG image, Imagick::setImageCompressionQuality() is not work at all, length of the generated files are totally same, only a few bytes are different.

But if use Imagick::setOption('png:compression-level', 9), the value range is 0-9, it will works.

So I think it's a bug on Imagick::setImageCompressionQuality().


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2018-11-08 22:34 UTC] cmb@php.net
-Package: *Graphics related +Package: imagick
 [2018-11-09 08:04 UTC] a at b dot c dot de
What quality settings are you trying? Do you have a sample image to demonstrate with? (Note how the quality setting affects PNG compression: https://imagemagick.org/script/command-line-options.php#quality).
 
PHP Copyright © 2001-2018 The PHP Group
All rights reserved.
Last updated: Mon Dec 10 09:01:25 2018 UTC